|
|
|
@ -76,7 +76,7 @@ function show_popup(){ |
|
|
|
popup = document.getElementById('teacher_popup') |
|
|
|
popup = document.getElementById('teacher_popup') |
|
|
|
popup.classList.toggle('hidden') |
|
|
|
popup.classList.toggle('hidden') |
|
|
|
popup.onclick = function(e){ |
|
|
|
popup.onclick = function(e){ |
|
|
|
if e.target == this{ |
|
|
|
if (e.target == this){ |
|
|
|
popup.classList.add('hidden') |
|
|
|
popup.classList.add('hidden') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -257,4 +257,4 @@ $(function(){ |
|
|
|
$('html,body').stop().animate({ scrollTop: $('#go_to_textarea').offset().top }, 1000); |
|
|
|
$('html,body').stop().animate({ scrollTop: $('#go_to_textarea').offset().top }, 1000); |
|
|
|
e.preventDefault(); |
|
|
|
e.preventDefault(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|