Skip to content

Commit bc53e4e

Browse files
committed
Adding an extra check for abbreviations allows for tabbing out of tinyMCE editor; fixing typeof operator
1 parent 9282689 commit bc53e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/content/editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ const Editor = Module("editor", {
446446
if (!textbox)
447447
return false;
448448
let text = textbox.value;
449-
if (typeof(text) !== "string")
449+
if (typeof text !== "string")
450450
return false;
451451

452452
let currStart = textbox.selectionStart;

0 commit comments

Comments
 (0)