mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
WebUI: MochaUI: Check for undefined functions
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -163,6 +163,8 @@ MUI.extend({
|
|||||||
new MUI.Require({
|
new MUI.Require({
|
||||||
js: options.require.js,
|
js: options.require.js,
|
||||||
onload: function(){
|
onload: function(){
|
||||||
|
if (!$defined(options.require.onload))
|
||||||
|
return;
|
||||||
if (Browser.Engine.presto){
|
if (Browser.Engine.presto){
|
||||||
options.require.onload.delay(100);
|
options.require.onload.delay(100);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user