make interval shorter

This commit is contained in:
janis
2024-04-30 10:47:13 +02:00
parent 94e76ca301
commit 326e4d1b9b

View File

@@ -101,7 +101,7 @@
<!-- Detection to open pop-up to tell users to head to new website after certain amount of interactions -->
<script>
let pageViewCount = parseInt( localStorage.getItem( 'pageViewCount' ) ?? '0' );
if ( pageViewCount > 4 ) {
if ( pageViewCount > 2 ) {
document.getElementById( 'go-to-new-page-popup' ).classList.add( 'popup-show' );
} else {
pageViewCount += 1;