fix bug caused by #788 (#799)

release/v1.15
Lunny Xiao 2017-01-30 22:21:17 +08:00 committed by GitHub
parent f94869d2d1
commit 77ab60df83
1 changed files with 3 additions and 1 deletions

View File

@ -109,7 +109,9 @@ function initCommentForm() {
} }
$('.select-label').dropdown('setting', 'onHide', function(){ $('.select-label').dropdown('setting', 'onHide', function(){
location.reload(); if (hasLabelUpdateAction) {
location.reload();
}
}); });
$labelMenu.find('.item:not(.no-select)').click(function () { $labelMenu.find('.item:not(.no-select)').click(function () {