aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/linkwiz.js
diff options
context:
space:
mode:
authorHenry Pan <git@phy25.com>2020-02-26 19:05:39 -0500
committerGitHub <noreply@github.com>2020-02-26 19:05:39 -0500
commitef401fdcd7e0d8a14fdf4306b1f650529b51b1ee (patch)
tree1d1209e690e9cac1899b42ef464f56f5345334e6 /lib/scripts/linkwiz.js
parent6cb645bfb16d8eff5581621f5182fb8025e8182f (diff)
parent050990ca534058e4afb63946bd6b4e5386c3806a (diff)
downloaddokuwiki-ef401fdcd7e0d8a14fdf4306b1f650529b51b1ee.tar.gz
dokuwiki-ef401fdcd7e0d8a14fdf4306b1f650529b51b1ee.zip
Merge pull request #2989 from splitbrain/jquery-migrate-3.1
jquery-migrate: replace on()/trigger() shorthand and use prop() for disabled attr
Diffstat (limited to 'lib/scripts/linkwiz.js')
-rw-r--r--lib/scripts/linkwiz.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/linkwiz.js b/lib/scripts/linkwiz.js
index da1e072a1..d82ca9681 100644
--- a/lib/scripts/linkwiz.js
+++ b/lib/scripts/linkwiz.js
@@ -57,7 +57,7 @@ var dw_linkwiz = {
}
// attach event handlers
- jQuery('#link__wiz .ui-dialog-titlebar-close').click(dw_linkwiz.hide);
+ jQuery('#link__wiz .ui-dialog-titlebar-close').on('click', dw_linkwiz.hide);
dw_linkwiz.$entry.keyup(dw_linkwiz.onEntry);
jQuery(dw_linkwiz.result).on('click', 'a', dw_linkwiz.onResultClick);
},