Skip to content

Commit 84cdeaf

Browse files
authored
Add namespace to global click event
go-gitea#15687
1 parent 3289ace commit 84cdeaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ function initIssueComments() {
700700
$dismissReviewModal.modal('show');
701701
});
702702

703-
$(document).on('click', (event) => {
703+
$(document).on('click.cleanhash', (event) => {
704704
const urlTarget = $(':target');
705705
if (urlTarget.length === 0) return;
706706

0 commit comments

Comments
 (0)