From b48d79029c9af455d1c585d0113de5a1ff6700d9 Mon Sep 17 00:00:00 2001 From: Mikhail Bortnikov Date: Mon, 24 Apr 2017 16:12:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D1=88=D0=B0=D0=BB=D0=BE=20=D0=BE?= =?UTF-8?q?=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D1=8F=D1=82=D1=8C=20=D0=B4?= =?UTF-8?q?=D0=BE=D0=BC=D0=B0=D1=88=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/homework.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +});