diff options
Diffstat (limited to 'yaksh/templates/exam.html')
-rw-r--r-- | yaksh/templates/exam.html | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index f722c5f..fede185 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -33,15 +33,6 @@ </nav><!-- /.navbar --> {% endblock %} {% block content %} - <script> - $(document).ready(function() { - var ele = document.getElementById('error_panel') - if (ele) { - ele.scrollIntoView(true); - window.scrollBy(0, -15); - } - }); - </script> <div class="container-fluid"> <div class="col-sm-3 col-md-2 sidebar"> <p> Question Navigator </p> @@ -80,13 +71,12 @@ {% block main %} {% endblock %} </div> + </div> <br/> + </div> {% if question.type == 'code' or question.type == 'upload' %} - <div class="row" id="error_panel"> - </div> - </div> + <div class="row" id="error_panel"></div> {% endif %} - </div> </div> </div> </div> |