From: Marius Gavrilescu Date: Sat, 18 Apr 2015 09:35:15 +0000 (+0300) Subject: Merge branch 'master' into newmc X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=1d4981aae22600f090d67d740017682354162ec8;hp=bbf6a6cc766aee908795a80fa6d14190086fbcad;p=gruntmaster-page.git Merge branch 'master' into newmc --- diff --git a/js/10-modal.js b/js/10-modal.js index 1c290ef..62cbb27 100644 --- a/js/10-modal.js +++ b/js/10-modal.js @@ -1,7 +1,8 @@ -let modal, hiding; +let modal, backdrop, hiding; function show_modal () { modal.classList.remove('hidden'); + backdrop.classList.remove('hidden'); setTimeout(function (){ document.body.classList.add('modal-open'); }, 20); @@ -13,6 +14,7 @@ function hide_modal () { $(function() { modal = $('.modal')[0]; + backdrop = $('.backdrop')[0]; $(modal).on('transitionend', el => { if(!document.body.classList.contains('modal-open')) modal.classList.add('hidden'); diff --git a/tmpl/pb_entry.en b/tmpl/pb_entry.en index dd03ea9..bc637d3 100644 --- a/tmpl/pb_entry.en +++ b/tmpl/pb_entry.en @@ -51,5 +51,5 @@ To submit solutions to this problem, please visit the problem o -
+