quick fix

open themes/plugins folder
This commit is contained in:
pohky 2016-05-21 19:09:22 +02:00
parent 13c1ab4be0
commit b343b5d7c9
2 changed files with 9 additions and 103 deletions

View File

@ -46,7 +46,7 @@ var settings = {
};
var links = {
"Jiiks.net": { "text": "Jiiks.net", "href": "http://jiiks.net", "target": "_blank" },
"Jiiks.net": { "text": "Jiiks.net", "href": "thtp://jiiks.net", "target": "_blank" },
"twitter": { "text": "Twitter", "href": "http://twitter.com/jiiksi", "target": "_blank" },
"github": { "text": "Github", "href": "http://github.com/jiiks", "target": "_blank" }
};
@ -872,8 +872,8 @@ PublicServers.prototype.getPinnedServer = function() {
"size": 1,
"query": {
"query_string": {
"default_operator": "AND",
"query": "BetterDiscord"
"default_operator": "AND",
"query": "BetterDiscord"
}
}
};
@ -1075,7 +1075,7 @@ PublicServers.prototype.loadServers = function(dataset, search, clear) {
};
PublicServers.prototype.search = function(start, clear) {
var sterm = $("#pubs-sterm").val();
var sterm = $("#pubs-sterm").val();
var dataset = {
"sort": [{ "online": "desc" }],
@ -1500,10 +1500,10 @@ SettingsPanel.prototype.changeTab = function (tab) {
}
break;
case "bd-themes-tab":
$(".bda-slist-top").hide();
$(".bda-slist-top:first").hide();
break;
case "bd-plugins-tab":
$(".bda-slist-top").hide();
$(".bda-slist-top:first").hide();
break;
default:
$(".bda-slist-top").show();
@ -1700,7 +1700,7 @@ SettingsPanel.prototype.construct = function () {
//Plugin pane
settingsInner += '\
<div class="bd-pane control-group" id="bd-plugins-pane" style="display:none;">\
<div class="bd-pane control-group" id="bd-plugins-pane" style="display:show;">\
<div class="bda-slist-top">\
<button class="btn btn-primary" onclick=\'betterDiscordIPC.send("asynchronous-message", { "arg": "opendir", "path": "plugindir" }); return false;\'>Open Plugin Folder</button>\
<button class="btn btn-primary" onclick=\'window.open("https://betterdiscord.net/plugins"); return false;\'>Get Plugins</button>\

98
js/main.min.js vendored

File diff suppressed because one or more lines are too long