diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 784359ca..cb1884c4 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -784,8 +784,8 @@ class HttpCli(object): if "hc" in self.uparam: return self.tx_svcs() - if "h" in self.uparam: - return self.tx_mounts() + if "h" in self.uparam: + return self.tx_mounts() # conditional redirect to single volumes if self.vpath == "" and not self.ouparam: diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 47060f32..30fbf873 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -5805,7 +5805,7 @@ function apply_perms(res) { ebi('acc_info').innerHTML = '' + srvinf + '' + (acct != '*' ? '' + L.logout + acct + '' : - 'Login'); + 'Login'); var o = QSA('#ops>a[data-perm]'); for (var a = 0; a < o.length; a++) {