Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-19 16:15:30 +0300
committerHanzei <hanzei@mailbox.org>2018-07-19 16:15:30 +0300
commit2246ec73706055d8c3db149bda0f1dd387ba9e7e (patch)
treece94e3205e44dd807ebe3ceb79394aa556bb095b /assets/js
parent5ccd6795b2a2b10b9fdfdec337fb7a15571d7037 (diff)
Fix modal closing
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/js/index.js b/assets/js/index.js
index 08ef756..1c868f7 100644
--- a/assets/js/index.js
+++ b/assets/js/index.js
@@ -20,5 +20,6 @@ $('.modal-close').click(function () {
$(document).keypress(function(e) {
if(e.which == 0) {
$('.modal.is-active').removeClass('is-active');
+ $("html").removeClass("modal-open");
}
});