Skip to content

Commit

Permalink
Fixed sequencing error in firefox where handlekeypress is callled bef…
Browse files Browse the repository at this point in the history
…ore CKEditor fully installed
  • Loading branch information
turnermm committed Mar 25, 2022
1 parent 2737d08 commit eab916d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion locktimer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


function handlekeypress (e) {
if( e.data.keyCode == CKEDITOR.CTRL + 81) {
if(e.data && e.data.keyCode == CKEDITOR.CTRL + 81) {
jQuery("#save_button").trigger("mousedown");
}
if(ourLockTimerIsSet) {
Expand Down
2 changes: 1 addition & 1 deletion plugin.info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
base ckgedit
author Myron Turner
email turnermm02@shaw.ca
date 2022-02-27
date 2022-03-25
name ckgedit
desc WYSIWYG plugin for Dokuwiki
url https://www.dokuwiki.org/plugin:ckgedit
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
current_22-Feb_27-08_17
current_22-Mar_25-07_34

0 comments on commit eab916d

Please sign in to comment.