Skip to content

Commit

Permalink
fix bug caused by go-gitea#788
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jan 30, 2017
1 parent f94869d commit a15dd38
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 a15dd38

Please sign in to comment.