mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Wrap appLoader in anonymous function
This commit is contained in:
parent
fe0c7d359e
commit
96963cb8b6
1 changed files with 47 additions and 45 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
(function() {
|
||||||
function injectScriptElement(src, onload) {
|
function injectScriptElement(src, onload) {
|
||||||
if (!src) {
|
if (!src) {
|
||||||
return;
|
return;
|
||||||
|
@ -46,3 +47,4 @@ if (!self.Promise) {
|
||||||
} else {
|
} else {
|
||||||
loadSite();
|
loadSite();
|
||||||
}
|
}
|
||||||
|
})();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue