Skip to content

Commit a15dd38

Browse files
committed
fix bug caused by go-gitea#788
1 parent f94869d commit a15dd38

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

public/js/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ function initCommentForm() {
109109
}
110110

111111
$('.select-label').dropdown('setting', 'onHide', function(){
112-
location.reload();
112+
if (hasLabelUpdateAction) {
113+
location.reload();
114+
}
113115
});
114116

115117
$labelMenu.find('.item:not(.no-select)').click(function () {

0 commit comments

Comments
 (0)