mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Updates
This commit is contained in:
parent
072307bdb7
commit
641e1e48e6
1 changed files with 6 additions and 0 deletions
|
@ -70,6 +70,12 @@ if (urlParams.has('debug')) {
|
|||
isDebuging = false;
|
||||
}
|
||||
|
||||
if(typeof String.prototype.replaceAll === "undefined") {
|
||||
String.prototype.replaceAll = function(match, replace) {
|
||||
return this.replace(new RegExp(match, 'g'), () => replace);
|
||||
}
|
||||
}
|
||||
|
||||
async function setBodyOnline() {
|
||||
if (isOnline()) {
|
||||
$('body').removeClass('isOffline');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue