diff options
author | maheshgudi | 2018-01-08 17:29:23 +0530 |
---|---|---|
committer | maheshgudi | 2018-01-08 17:30:25 +0530 |
commit | f0fafed7ba0002369f528a901d9e5590f5bd3bea (patch) | |
tree | 6c2e8177e466593a63d3911c22526a32ac95fe7f /yaksh/static | |
parent | cc956355f8ddb13e9430f6e41ab183eebc848530 (diff) | |
download | online_test-f0fafed7ba0002369f528a901d9e5590f5bd3bea.tar.gz online_test-f0fafed7ba0002369f528a901d9e5590f5bd3bea.tar.bz2 online_test-f0fafed7ba0002369f528a901d9e5590f5bd3bea.zip |
Separate solution div from question description div
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/js/requesthandler.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/static/yaksh/js/requesthandler.js b/yaksh/static/yaksh/js/requesthandler.js index e6048b2..ec2391a 100644 --- a/yaksh/static/yaksh/js/requesthandler.js +++ b/yaksh/static/yaksh/js/requesthandler.js @@ -37,7 +37,9 @@ function unlock_screen() { } function show_solution() { - document.getElementById("solution").style.display = "block"; + var solution = document.getElementById("solution"); + solution.style.display = "block"; + solution.className ="well well-sm"; document.getElementById("skip_ex").style.visibility = "visible"; } |