Created
March 22, 2019 03:39
-
-
Save hefhuman/3e02abecd94510e3abe1f56708122307 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (sessionStorage.getItem('advertOnce') == null) { | |
$('.modal_con').css('display', 'block'); | |
sessionStorage.setItem('advertOnce', 'true'); | |
} | |
// more details on https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_storage_getitem_session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment