mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 05:32:25 -06:00
redefine jsldp in browser.js to ensure it's always defined
This commit is contained in:
parent
f33dcd307a
commit
a80dd0d6ce
|
|
@ -26,6 +26,10 @@ function loadScript(name, id) {
|
||||||
};
|
};
|
||||||
head.appendChild(s);
|
head.appendChild(s);
|
||||||
}
|
}
|
||||||
|
// re-define this function to ensure it's available when needed
|
||||||
|
function jsldp(a, b) {
|
||||||
|
2 != window[a] && alert("FATAL ERROR: cannot load " + b + ".js due to unreliable network or broken reverse-proxy; try CTRL-SHIFT-R")
|
||||||
|
}
|
||||||
loadScript('baguettebox', "J_BBX");
|
loadScript('baguettebox', "J_BBX");
|
||||||
loadScript('up2k', "J_U2K");
|
loadScript('up2k', "J_U2K");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue