Skip to content

Commit 54ea58d

Browse files
authored
Prevent default for linkAction (#10742) (#10743)
Signed-off-by: jolheiser <[email protected]>
1 parent 0158725 commit 54ea58d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2738,7 +2738,8 @@ function showAddAllPopup() {
27382738
return false;
27392739
}
27402740

2741-
function linkAction() {
2741+
function linkAction(e) {
2742+
e.preventDefault();
27422743
const $this = $(this);
27432744
const redirect = $this.data('redirect');
27442745
$.post($this.data('url'), {

0 commit comments

Comments
 (0)