aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/editor.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2017-02-03 10:25:11 +0100
committerAndreas Gohr <andi@splitbrain.org>2017-02-03 10:25:11 +0100
commit65a6bb072adbc4fdbfd45391b93c089e18c997ac (patch)
treee0b8d7c1b9f909f8307b8f3a4bf9a06cc875257b /lib/scripts/editor.js
parent35284e8c5ae28c1a30228e967dfeb81e82158fe5 (diff)
parent727b7c491ae61e48f75cf7b120d124af405264ce (diff)
downloaddokuwiki-65a6bb072adbc4fdbfd45391b93c089e18c997ac.tar.gz
dokuwiki-65a6bb072adbc4fdbfd45391b93c089e18c997ac.zip
Merge branch 'jqsplit'
* jqsplit: Restore smoothness.css using update.sh allow selecting the preferred CDN and add event load jquery via https always split off jquery from other JS and add CDN option #1766 use external version file for jquery updates removed jQuery.browser calls replace deprecated bind() calls replace deprecated delegate() calls fixed radio options in media manager for new jQ-UI jQuery Updates
Diffstat (limited to 'lib/scripts/editor.js')
-rw-r--r--lib/scripts/editor.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/scripts/editor.js b/lib/scripts/editor.js
index e96df7c82..c9cb312b0 100644
--- a/lib/scripts/editor.js
+++ b/lib/scripts/editor.js
@@ -25,13 +25,7 @@ var dw_editor = {
return;
}
- // in Firefox, keypress doesn't send the correct keycodes,
- // in Opera, the default of keydown can't be prevented
- if (jQuery.browser.opera) {
- $editor.keypress(dw_editor.keyHandler);
- } else {
- $editor.keydown(dw_editor.keyHandler);
- }
+ $editor.keydown(dw_editor.keyHandler);
},