summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew S <matthewsot@outlook.com>2017-12-05 16:35:08 -0800
committerGitHub <noreply@github.com>2017-12-05 16:35:08 -0800
commita1cf86c872c00faa92daa080abbdd2eba9b28ead (patch)
treefeac1c7dea2ae6e123902212964380b14a5ef0dd
parent45e3006e8b5a99a965cd16bd35e8a47202c1124f (diff)
Fixed editor-input problems
-rw-r--r--editor-input.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor-input.js b/editor-input.js
index ca42c0c..d13340a 100644
--- a/editor-input.js
+++ b/editor-input.js
@@ -1,9 +1,9 @@
docs.keyboard = {};
docs.keyboard.startBlockingMouse = function () {
- $(".kix-appview-editor").on("mousedown click mouseup mousemove mouseover", utils.stopEvent);
+ $(".kix-appview-editor").on("mousedown click mouseup mousemove mouseover", docs.utils.stopEvent);
- $(".kix-appview-editor").children().on("mousedown click mouseup mousemove mouseover", utils.stopEvent);
+ $(".kix-appview-editor").children().on("mousedown click mouseup mousemove mouseover", docs.utils.stopEvent);
$("#attendees-dropdown, #action-button").on("mousedown", keyboard.escape);
};
@@ -23,7 +23,7 @@ $(".docs-texteventtarget-iframe").contents().find("[contenteditable=\"true\"]").
if (!docs.keyboard.handleKeydown) return;
if (typeof e.key === "undefined") {
- e.key = utils.keyFromKeyCode(e.shiftKey, e.keyCode);
+ e.key = docs.utils.keyFromKeyCode(e.shiftKey, e.keyCode);
}
docs.keyboard.handleKeydown(e);
});
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback