fixed issue with model
This commit is contained in:
parent
2a9b6880f6
commit
526d8395e1
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue