fix error

This commit is contained in:
janis
2024-04-30 10:46:17 +02:00
parent e082d133a1
commit 94e76ca301

View File

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