From b48d79029c9af455d1c585d0113de5a1ff6700d9 Mon Sep 17 00:00:00 2001 From: Mikhail Bortnikov Date: Mon, 24 Apr 2017 16:12:15 +0300 Subject: [PATCH 1/6] =?UTF-8?q?=D0=9C=D0=B5=D1=88=D0=B0=D0=BB=D0=BE=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D1=8F=D1=82=D1=8C=20?= =?UTF-8?q?=D0=B4=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 +}); From 7452f93b0eb8d5257a572817d240e50a19779990 Mon Sep 17 00:00:00 2001 From: Mikhail Bortnikov Date: Wed, 26 Apr 2017 17:13:42 +0300 Subject: [PATCH 2/6] =?UTF-8?q?=D0=9F=D0=BE=D0=BA=D0=B0=D0=B7=D1=8B=D0=B2?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D1=83=D1=80=D0=BE=D0=BA=D0=B8=20=D0=B4?= =?UTF-8?q?=D0=B0=D0=B6=D0=B5=20=D0=B5=D1=81=D0=BB=D0=B8=20=D0=BE=D0=BD=20?= =?UTF-8?q?1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/course.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/course.html b/templates/course.html index ba8c606..73b7b90 100755 --- a/templates/course.html +++ b/templates/course.html @@ -188,7 +188,7 @@ {% endif %} - {% if i.head.lessons_length > 1 %} + {% if i.head.lessons_length >= 1 %}