mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 02:11:52 +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() {
|
window.onload = function() {
|
||||||
if (!getCookie('bannerClosed')) {
|
setTimeout(function() {
|
||||||
document.getElementById('modern-banner').style.display = 'block';
|
if (!getCookie('bannerClosed')) {
|
||||||
}
|
document.getElementById('modern-banner').style.display = 'block';
|
||||||
|
}
|
||||||
|
}, 10000); // 15000 milliseconds = 15 seconds
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Reference in a new issue