Skip to content

Commit

Permalink
fix bug caused by #788 (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Jan 30, 2017
1 parent f94869d commit 77ab60d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 77ab60d

Please sign in to comment.