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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user