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 = { 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" }, "twitter": { "text": "Twitter", "href": "http://twitter.com/jiiksi", "target": "_blank" },
"github": { "text": "Github", "href": "http://github.com/jiiks", "target": "_blank" } "github": { "text": "Github", "href": "http://github.com/jiiks", "target": "_blank" }
}; };
@ -1500,10 +1500,10 @@ SettingsPanel.prototype.changeTab = function (tab) {
} }
break; break;
case "bd-themes-tab": case "bd-themes-tab":
$(".bda-slist-top").hide(); $(".bda-slist-top:first").hide();
break; break;
case "bd-plugins-tab": case "bd-plugins-tab":
$(".bda-slist-top").hide(); $(".bda-slist-top:first").hide();
break; break;
default: default:
$(".bda-slist-top").show(); $(".bda-slist-top").show();
@ -1700,7 +1700,7 @@ SettingsPanel.prototype.construct = function () {
//Plugin pane //Plugin pane
settingsInner += '\ 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">\ <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=\'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>\ <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