typo&var
This commit is contained in:
parent
b8dd9826f6
commit
0a03ceddf2
|
@ -457,7 +457,7 @@ SettingsPanel.prototype.handler = function(e){
|
||||||
$("body").removeClass("bd-minimal-chan");
|
$("body").removeClass("bd-minimal-chan");
|
||||||
}
|
}
|
||||||
|
|
||||||
core.saveSettings();
|
mainCore.saveSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BetterDiscordApp Utilities JavaScript
|
/* BetterDiscordApp Utilities JavaScript
|
||||||
|
|
|
@ -105,7 +105,7 @@ BetterDiscord.prototype.start = function() {
|
||||||
self.getUtils().injectJavaScript("//" + _updater.CDN + "/Jiiks/BetterDiscordApp/"+_hash+"/js/main.min.js", true);
|
self.getUtils().injectJavaScript("//" + _updater.CDN + "/Jiiks/BetterDiscordApp/"+_hash+"/js/main.min.js", true);
|
||||||
|
|
||||||
//Start BDA
|
//Start BDA
|
||||||
self.getUtils().execJs("var startBda = function() { var mainCore = new Core(); mainCore.init(); }");
|
self.getUtils().execJs("var mainCore; var startBda = function() { mainCore = new Core(); mainCore.init(); }");
|
||||||
self.getUtils().execJs("function startDefer() { if(window.Core && window.jQuery && $.cookie){ startBda(); } else { setTimeout(function() { startDefer(); }, 100) } } startDefer(); ")
|
self.getUtils().execJs("function startDefer() { if(window.Core && window.jQuery && $.cookie){ startBda(); } else { setTimeout(function() { startDefer(); }, 100) } } startDefer(); ")
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue