Fix browse files link for not installed domain plugins

This commit is contained in:
Tamas Kocsis 2020-10-01 17:17:51 +02:00
parent 4b8dfc5114
commit dcbfb8afe0
3 changed files with 7 additions and 4 deletions

View file

@ -359,7 +359,6 @@
}).call(this);
/* ---- Menu.coffee ---- */
@ -851,7 +850,7 @@ window.initScrollable = function () {
return false;
};
})(this));
return this.tag.find("#privatekey-forget").off("click, touchend").on("click touchend", (function(_this) {
this.tag.find("#privatekey-forget").off("click, touchend").on("click touchend", (function(_this) {
return function(e) {
_this.wrapper.displayConfirm("Remove saved private key for this site?", "Forget", function(res) {
if (!res) {
@ -864,6 +863,7 @@ window.initScrollable = function () {
return false;
};
})(this));
return this.tag.find("#browse-files").attr("href", document.location.pathname.replace(/(\/.*?(\/|$)).*$/, "/list$1"));
};
Sidebar.prototype.animDrag = function(e) {
@ -1424,6 +1424,7 @@ window.initScrollable = function () {
}).call(this);
/* ---- morphdom.js ---- */