Prevent default for linkAction (#10742) (#10743)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser 2020-03-16 18:41:02 -05:00 committed by GitHub
parent 0158725387
commit 54ea58ddf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'), {