diff options
author | Henry Pan <git@phy25.com> | 2020-02-26 19:05:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 19:05:39 -0500 |
commit | ef401fdcd7e0d8a14fdf4306b1f650529b51b1ee (patch) | |
tree | 1d1209e690e9cac1899b42ef464f56f5345334e6 /lib/scripts/script.js | |
parent | 6cb645bfb16d8eff5581621f5182fb8025e8182f (diff) | |
parent | 050990ca534058e4afb63946bd6b4e5386c3806a (diff) | |
download | dokuwiki-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/script.js')
-rw-r--r-- | lib/scripts/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/script.js b/lib/scripts/script.js index 97edef0b7..0e03dcf37 100644 --- a/lib/scripts/script.js +++ b/lib/scripts/script.js @@ -26,5 +26,5 @@ function closePopups(){ } jQuery(function () { - jQuery(document).click(closePopups); + jQuery(document).on('click', closePopups); }); |