mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 03:32:28 +01:00
Replace util.isOS with a platform queryable util.OS object.
--HG-- extra : rebase_source : 2a00dd4e3a023c9de11818bb95d86d9901341c6a
This commit is contained in:
@@ -24,7 +24,7 @@ const Editor = Module("editor", {
|
||||
selectedText: function () String(Editor.getEditor(null).selection),
|
||||
|
||||
pasteClipboard: function (clipboard, toStart) {
|
||||
if (util.isOS("WINNT")) {
|
||||
if (util.OS.isWindows) {
|
||||
this.executeCommand("cmd_paste");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user