From 3275bff01f6dedd714330caabe4ceec68ddcd3ef Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Thu, 17 Nov 2016 23:25:31 -0500 Subject: [PATCH] fix typo that kept previous bugfix from working --- pd/nw/pd_canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pd/nw/pd_canvas.js b/pd/nw/pd_canvas.js index 977beb922..06d983929 100644 --- a/pd/nw/pd_canvas.js +++ b/pd/nw/pd_canvas.js @@ -1080,7 +1080,7 @@ function nw_create_patch_window_menus(gui, w, name) { click: function (evt) { if (canvas_events.get_state() === "normal") { pdgui.pdsend(name, "selectall"); - } else if (process.os === "darwin") { + } else if (process.platform === "darwin") { // big kluge for OSX to select all inside a // contenteditable element (needed because // the stupid MacBuiltin is buggy-- see pd_menus.js) -- GitLab