From a89aff61b6bab0859c9f81142aa6be5d0ccc8ba1 Mon Sep 17 00:00:00 2001 From: Hardik Ghaghada Date: Wed, 24 Apr 2013 00:09:55 +0530 Subject: 80 Cols per line, corrected indentation in files & implemented DRY --- testapp/static/exam/js/edit_question.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'testapp/static/exam') diff --git a/testapp/static/exam/js/edit_question.js b/testapp/static/exam/js/edit_question.js index 09cd842..69e0d97 100644 --- a/testapp/static/exam/js/edit_question.js +++ b/testapp/static/exam/js/edit_question.js @@ -156,11 +156,9 @@ function autosubmit() } else { - alert("hello") count_mcq = count_mcq + 1; var options = document.getElementById('id_options' + i).value; var total_words = options.split("\n").length ; - alert(total_words) if ( total_words < 4) empty_options = empty_options + 1 ; } -- cgit