diff --git a/js/main.js b/js/main.js index a89743d4..5d600a9f 100644 --- a/js/main.js +++ b/js/main.js @@ -6,7 +6,7 @@ * https://github.com/Jiiks/BetterDiscordApp */ var settingsPanel, emoteModule, utils, quickEmoteMenu, opublicServers, voiceMode, pluginModule, themeModule, customCssEditor; -var jsVersion = 1.63; +var jsVersion = 1.64; var supportedVersion = "0.2.5"; var mainObserver; @@ -76,62 +76,22 @@ var defaultCookie = { var bdchangelog = { "changes": { - "darkmode": { - "title": "v1.63 : Dark Mode", - "text": "Dark mode makes certain elements dark by default(currently only applies to emote menu)", + "028s": { + "title": "v1.64 : 0.2.8 Support", + "text": "Added support for Core version 0.2.8", "img": "" }, - "emotemenu": { - "title": "v1.62 : Brand new emote menu that fits in Discord emoji menu!", - "text": "The emote menu has been replaced by a new one that injects itself in the Discord emoji menu!", - "img": "" - }, - "cccss": { - "title": "v1.61 : New custom CSS editor", - "text": "The custom CSS editor now has options and can be detached!", - "img": "" - }, - "vdc": { - "title": "v1.61 : Voice Disconnect", - "text": "Disconnect from voice server when closing Discord!", - "img": "" - }, - "pslist": { - "title": "v1.60 : New public server list!", - "text": 'New and shiny public server list powered by DiscordServers.com!', - "img": "" - }, - "api": { - "title": "v1.59 : New plugin api callback", - "text": "Use the `observer(e)` callback instead of creating your own MutationObserver", - "img": "" - }, - "emotemods": { - "title": "v1.59 : New emote mods!", - "text": "The following emote mods have been added: :shake2, :shake3, :flap", - "img": "" - }, - "minmode": { - "title": "v1.59: Minimal mode", - "text": "Minimal mode embed fixed size has been removed", + "infscroll": { + "title": "v1.64 : Public Server List Infinite Scroll", + "text": "Public server list now has the ability to load more than 20 servers.", "img": "" } }, "fixes": { - "modal": { - "title": "v1.62 : Fixed modals", - "text": "Fixed broken modal introduced by 0.0.287", + "pserver": { + "title": "v1.64 : Public Server Owner", + "text": "Removed undefined server owner property", "imt": "" - }, - "emotes": { - "title": "v1.59 : Native sub emote mods", - "text": "Emote mods now work with native sub emotes!", - "img": "" - }, - "emotes2": { - "title": "v1.59 : Emote mods and custom emotes", - "text": "Emote mods will no longer interfere with custom emotes using :", - "img": "" } } }; @@ -698,6 +658,7 @@ PublicServers.prototype.getPanel = function () { }; PublicServers.prototype.init = function () { + this.loadingServers = false; var self = this; var guilds = $(".guilds>li:first-child"); @@ -727,27 +688,43 @@ PublicServers.prototype.init = function () { self.show(); }); - var panelBase=""; - panelBase += "