mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
360d70e29e
commit
d89471174f
9 changed files with 68 additions and 47 deletions
|
@ -1946,7 +1946,14 @@ async function checkDescriptionArea() {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
var clearCacheExecuted = false;
|
||||
function clearCache(showPleaseWait, FirstPage, sessionOnly) {
|
||||
if(clearCacheExecuted){
|
||||
return false;
|
||||
}
|
||||
clearCacheExecuted = true;
|
||||
console.trace();
|
||||
if (showPleaseWait) {
|
||||
modal.showPleaseWait();
|
||||
}
|
||||
|
@ -1956,6 +1963,9 @@ function clearCache(showPleaseWait, FirstPage, sessionOnly) {
|
|||
if (showPleaseWait) {
|
||||
avideoResponse(response);
|
||||
modal.hidePleaseWait();
|
||||
setTimeout(() => {
|
||||
clearCacheExecuted = false;
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue