1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 22:17:59 +01:00

Remove Window special casing from Editor#pasteClipboard.

This commit is contained in:
Doug Kearns
2011-06-22 11:38:33 +10:00
parent 8ad7081e33
commit fe3decf83a

View File

@@ -24,12 +24,6 @@ var Editor = Module("editor", {
selectedText: function () String(Editor.getEditor(null).selection),
pasteClipboard: function (clipboard, toStart) {
// TODO: I don't think this is needed anymore? --djk
if (util.OS.isWindows) {
this.executeCommand("cmd_paste");
return;
}
let elem = dactyl.focusedElement;
if (elem.inputField)
elem = elem.inputField;