mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
WebUI: MochaUI: Check for undefined functions
This commit is contained in:
parent
d055613125
commit
aded5422d8
2 changed files with 3 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
@ -163,6 +163,8 @@ MUI.extend({
|
|||
new MUI.Require({
|
||||
js: options.require.js,
|
||||
onload: function(){
|
||||
if (!$defined(options.require.onload))
|
||||
return;
|
||||
if (Browser.Engine.presto){
|
||||
options.require.onload.delay(100);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue