mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
Make sure unload works
This commit is contained in:
parent
01b809d81c
commit
1f3daf6c2e
1 changed files with 2 additions and 1 deletions
|
@ -1254,7 +1254,8 @@ $(document).ready(function () {
|
|||
$(window).on("unload", function () {
|
||||
addViewBeacon();
|
||||
});
|
||||
|
||||
window.addEventListener('beforeunload', function(e) {addViewBeacon();}, false);
|
||||
|
||||
checkDescriptionArea();
|
||||
setInterval(function () {// check for the carousel
|
||||
checkDescriptionArea();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue