aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/plugins/styling
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/plugins/styling
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/plugins/styling')
-rw-r--r--lib/plugins/styling/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/styling/script.js b/lib/plugins/styling/script.js
index 3859190c7..909e999b8 100644
--- a/lib/plugins/styling/script.js
+++ b/lib/plugins/styling/script.js
@@ -64,7 +64,7 @@ jQuery(function () {
var $btn = jQuery('<button>' + LANG.plugins.styling.popup + '</button>');
$form.prepend($btn);
- $btn.click(function (e) {
+ $btn.on('click', function (e) {
var windowFeatures = "menubar=no,location=no,resizable=yes,scrollbars=yes,status=false,width=500,height=500";
window.open(DOKU_BASE + 'lib/plugins/styling/popup.php', 'styling_popup', windowFeatures);
e.preventDefault();