aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/plugins/styling/script.js
diff options
context:
space:
mode:
authorPhy <git@phy25.com>2020-02-23 23:22:29 -0500
committerPhy <git@phy25.com>2020-02-23 23:22:29 -0500
commit050990ca534058e4afb63946bd6b4e5386c3806a (patch)
tree1d1209e690e9cac1899b42ef464f56f5345334e6 /lib/plugins/styling/script.js
parent6cb645bfb16d8eff5581621f5182fb8025e8182f (diff)
downloaddokuwiki-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/plugins/styling/script.js')
-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();