Skip to content

Commit ea00b2c

Browse files
committed
fix
1 parent b71cb7a commit ea00b2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web_src/js/features/common-global.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@ function linkAction(e) {
268268
e.preventDefault();
269269

270270
// A "link-action" can post AJAX request to its "data-url"
271-
// Then the browser is redirect to: the "redirect" in response, or "data-redirect" attribute, or current URL by reloading.
272-
// If the "link-action" has "data-modal-confirm(-html)" attribute, a confirm modal dialog will be shown before taking action.
271+
// Then the browser is redirected to: the "redirect" in response, or "data-redirect" attribute, or current URL by reloading.
272+
// If the "link-action" has "data-modal-confirm" attribute, a confirm modal dialog will be shown before taking action.
273273

274-
const $this = $(e.target);
274+
const $this = $(this);
275275
const redirect = $this.attr('data-redirect');
276276

277277
const doRequest = () => {

0 commit comments

Comments
 (0)