From 4b501a76d19e0ecbb2f75d4e2402a24a3bb47429 Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 1 Dec 2016 16:00:14 +0530 Subject: removed extra html tag and changed alignment of rendered text --- yaksh/static/yaksh/js/add_quiz.js | 2 +- yaksh/templates/yaksh/add_quiz.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/yaksh/static/yaksh/js/add_quiz.js b/yaksh/static/yaksh/js/add_quiz.js index e06c863..f4067ed 100644 --- a/yaksh/static/yaksh/js/add_quiz.js +++ b/yaksh/static/yaksh/js/add_quiz.js @@ -7,7 +7,7 @@ function test() { document.getElementById("submit").innerHTML = "Save"; } - var template = "

"; + var template = "

"; $(template).insertBefore("#id_instructions"); $('#id_instructions').keypress(function (event){ document.getElementById('rendered_text').innerHTML = document.getElementById('id_instructions').value ; diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html index b3b49ae..38773b5 100644 --- a/yaksh/templates/yaksh/add_quiz.html +++ b/yaksh/templates/yaksh/add_quiz.html @@ -25,7 +25,6 @@ $("#id_start_date_time").datetimepicker({format: 'Y-m-d H:i:s'}); $("#id_end_date_time").datetimepicker({format: 'Y-m-d H:i:s'}); -

-- cgit