summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index bbd49685..7ec4bbd7 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -1734,7 +1734,7 @@ function emitPermission(_permission) {
function updatePermission(newPermission) {
if (permission != newPermission) {
permission = newPermission;
- refreshView();
+ if (loaded) refreshView();
}
var label = null;
var title = null;