1
0
Fork 0

Prevent default for linkAction (#10742)

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

View file

@ -2720,7 +2720,8 @@ function showAddAllPopup() {
return false;
}
function linkAction() {
function linkAction(e) {
e.preventDefault();
const $this = $(this);
const redirect = $this.data('redirect');
$.post($this.data('url'), {