Skip to content

Commit

Permalink
Prevent default for linkAction (#10742) (#10743)
Browse files Browse the repository at this point in the history
Signed-off-by: jolheiser <john.olheiser@gmail.com>
  • Loading branch information
jolheiser authored Mar 16, 2020
1 parent 0158725 commit 54ea58d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web_src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2738,7 +2738,8 @@ function showAddAllPopup() {
return false;
}

function linkAction() {
function linkAction(e) {
e.preventDefault();
const $this = $(this);
const redirect = $this.data('redirect');
$.post($this.data('url'), {
Expand Down

0 comments on commit 54ea58d

Please sign in to comment.