redefine jsldp in browser.js to ensure it's always defined

This commit is contained in:
Til 2026-05-26 06:12:00 +02:00
parent f33dcd307a
commit a80dd0d6ce

View file

@ -26,6 +26,10 @@ function loadScript(name, id) {
};
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('up2k', "J_U2K");