Skip to content

Commit

Permalink
kyl_toast_soda_pop
Browse files Browse the repository at this point in the history
  • Loading branch information
neodigm committed Aug 18, 2024
1 parent 856f32e commit d80981d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/neodigm55__v3_5.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,9 @@ class NeodigmSodaPop {
}
}, true )
NeodigmKeylime.subscribe( "mouseleave", ( ev )=>{ // User focus exit
console.log("~~~ mouseleave kyl | " , ev)
if( this.fOnBeforeUserExit && !sessionStorage.getItem( "n55_userExit" ) ) this.fOnBeforeUserExit()
console.log("~~~ mouseleave kyl | " , this.fOnBeforeUserExit)
sessionStorage.setItem( "n55_userExit", Date.now() ) // Prevents firing more than once per session - close tab
} )
this.bIsInit = true
Expand Down

0 comments on commit d80981d

Please sign in to comment.