mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 12:16:17 +01:00
Prevent default for linkAction (#10742)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
19ebe2b956
commit
c7f3d1627f
1 changed files with 2 additions and 1 deletions
|
@ -2720,7 +2720,8 @@ function showAddAllPopup() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function linkAction() {
|
function linkAction(e) {
|
||||||
|
e.preventDefault();
|
||||||
const $this = $(this);
|
const $this = $(this);
|
||||||
const redirect = $this.data('redirect');
|
const redirect = $this.data('redirect');
|
||||||
$.post($this.data('url'), {
|
$.post($this.data('url'), {
|
||||||
|
|
Loading…
Reference in a new issue