diff options
author | Phy <git@phy25.com> | 2020-02-23 23:22:29 -0500 |
---|---|---|
committer | Phy <git@phy25.com> | 2020-02-23 23:22:29 -0500 |
commit | 050990ca534058e4afb63946bd6b4e5386c3806a (patch) | |
tree | 1d1209e690e9cac1899b42ef464f56f5345334e6 /lib/scripts/linkwiz.js | |
parent | 6cb645bfb16d8eff5581621f5182fb8025e8182f (diff) | |
download | dokuwiki-050990ca534058e4afb63946bd6b4e5386c3806a.tar.gz dokuwiki-050990ca534058e4afb63946bd6b4e5386c3806a.zip |
jquery-migrate: replace on()/trigger() shorthand and use prop() for disabled attr
Related to #1546.
Diffstat (limited to 'lib/scripts/linkwiz.js')
-rw-r--r-- | lib/scripts/linkwiz.js | 2 |
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); }, |