diff --git a/static/js/homework.js b/static/js/homework.js index da4fd46..6b36064 100755 --- a/static/js/homework.js +++ b/static/js/homework.js @@ -76,7 +76,7 @@ function show_popup(){ popup = document.getElementById('teacher_popup') popup.classList.toggle('hidden') popup.onclick = function(e){ - if e.target == this{ + if (e.target == this){ popup.classList.add('hidden') } } @@ -257,4 +257,4 @@ $(function(){ $('html,body').stop().animate({ scrollTop: $('#go_to_textarea').offset().top }, 1000); e.preventDefault(); }); -}); \ No newline at end of file +});