summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 47bdbe8928..e52da6e5ba 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -109,7 +109,9 @@ function initCommentForm() {
}
$('.select-label').dropdown('setting', 'onHide', function(){
- location.reload();
+ if (hasLabelUpdateAction) {
+ location.reload();
+ }
});
$labelMenu.find('.item:not(.no-select)').click(function () {