fix bug caused by #788 (#799)

forgejo
Lunny Xiao 8 years ago committed by GitHub
parent f94869d2d1
commit 77ab60df83

@ -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 () {

Loading…
Cancel
Save