diff --git a/public/js/index.js b/public/js/index.js index 47bdbe8928834..e52da6e5ba9ce 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 () {