Show the bridge page for first visit only
This commit is contained in:
parent
572db4528f
commit
1745e7c714
1 changed files with 5 additions and 4 deletions
|
|
@ -323,11 +323,12 @@
|
||||||
|
|
||||||
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script>
|
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
|
||||||
setTimeout(function() { $("#hideMe").fadeOut(2000); }, 2500)
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
|
if (window.sessionStorage.getItem("visited") == 'true'){
|
||||||
|
document.querySelector('#hideMe').style.display = 'none'; } else {
|
||||||
|
$(function() {setTimeout(function() { $("#hideMe").fadeOut(2000); }, 2500)})
|
||||||
|
}
|
||||||
|
window.sessionStorage.setItem("visited", 'true')
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue