fix bug caused by #788 (#799)

This commit is contained in:
Lunny Xiao 2017-01-30 22:21:17 +08:00 committed by GitHub
parent f94869d2d1
commit 77ab60df83

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