diff --git a/calm.js b/calm.js index 0780db8..b1fd416 100644 --- a/calm.js +++ b/calm.js @@ -2,8 +2,9 @@ $(function(){ $('.post-text').on('click', 'a', function(e){ e.stopPropagation(); }); - $(".modal-blackout").on('click', function(){ - closeModal($(this)); - if($(".modal-content").attr("style") != undefined){$(".modal-content").removeAttr("style")} - }) + + $(".cancel").on('click', function(e){ + if($(".modal-content").attr("style") != undefined){$(".modal-content").removeAttr("style")}; + +}) }) \ No newline at end of file diff --git a/home.html b/home.html index d7e6276..9488de1 100644 --- a/home.html +++ b/home.html @@ -271,7 +271,7 @@ -