mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 05:11:53 +02:00
add timeout newsletter banner delay 10s
This commit is contained in:
parent
28ada40502
commit
4cb3111bf2
1 changed files with 5 additions and 3 deletions
|
@ -109,9 +109,11 @@
|
|||
}
|
||||
|
||||
window.onload = function() {
|
||||
setTimeout(function() {
|
||||
if (!getCookie('bannerClosed')) {
|
||||
document.getElementById('modern-banner').style.display = 'block';
|
||||
}
|
||||
}, 10000); // 15000 milliseconds = 15 seconds
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Reference in a new issue