This commit is contained in:
Jiiks 2015-12-23 11:12:39 +02:00
parent 8f3b498922
commit a9c8428442
2 changed files with 7 additions and 4 deletions

View File

@ -823,6 +823,10 @@
height:178px; height:178px;
} }
.bd-alert-body a {
color:#FFF !important;
}
.bd-alert-body .scroller-wrap { .bd-alert-body .scroller-wrap {
height:178px; height:178px;
} }

View File

@ -8,8 +8,8 @@
var settingsPanel, emoteModule, utils, quickEmoteMenu, opublicServers, voiceMode, pluginModule, themeModule; var settingsPanel, emoteModule, utils, quickEmoteMenu, opublicServers, voiceMode, pluginModule, themeModule;
var jsVersion = 1.55; var jsVersion = 1.56;
var supportedVersion = "0.2.0"; var supportedVersion = "0.2.3";
var mainObserver; var mainObserver;
@ -145,8 +145,7 @@ Core.prototype.init = function() {
var self = this; var self = this;
if(version < supportedVersion) { if(version < supportedVersion) {
$("body").append("<div></div>"); this.alert("Not Supported", "BetterDiscord v" + version + "(your version)" + " is not supported by the latest js("+jsVersion+").<br><br> Please download the latest version from <a href='https://betterdiscord.net' target='_blank'>BetterDiscord.net</a>");
alert("BetterDiscord v" + version + "(your version)" + " is not supported by the latest js("+jsVersion+"). Please download the latest version from betterdiscord.net");
return; return;
} }