fixed issue with model

This commit is contained in:
DavidKevork 2017-11-06 18:51:27 +11:00
parent 2a9b6880f6
commit 526d8395e1

View file

@ -7231,14 +7231,14 @@ if (HasReadWarning !== "yes") {
} }
span.onclick = function() { span.onclick = function() {
toggleClass(modal, 'fade-out'); toggleClass(modal, 'fade-out');
/*modal.style.display = "none";*/ setTimeout(function(){ modal.style.display = "none"; }, 1000);
setCookie('read', 'yes', 365); setCookie('read', 'yes', 365);
} }
window.onclick = function(event) { window.onclick = function(event) {
if (event.target == modal) { if (event.target == modal) {
toggleClass(modal, 'fade-out'); toggleClass(modal, 'fade-out');
/*modal.style.display = "none";*/ setTimeout(function(){ modal.style.display = "none"; }, 1000);
setCookie('read', 'yes', 365); setCookie('read', 'yes', 365);
} }
} }