From fff770a2f55930d4e575e962726262044bd89696 Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Wed, 16 Jun 2021 02:21:20 +0500 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=8C=83=E2=86=A9=EF=B8=8E=20being=20use?= =?UTF-8?q?d=20instead=20of=20=E2=8C=98=E2=86=A9=20for=20opening=20the=20e?= =?UTF-8?q?ditor=20on=20Mac=EF=B8=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/shortcuts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/shortcuts.js b/static/shortcuts.js index 0316f08..08d3489 100644 --- a/static/shortcuts.js +++ b/static/shortcuts.js @@ -325,7 +325,7 @@ this.bindElement('c, Alt+ArrowDown, Ctrl+Alt+ArrowDown', '.subhyphae__link', 'First child hypha'); this.bindElement('v', '.hypha-tabs__link[href^="/hypha/"]', 'Go to hypha′s page'); - this.bindElement('e, Ctrl+Enter', '.hypha-tabs__link[href^="/edit/"]', 'Edit this hypha'); + this.bindElement('e, ' + (isMac ? "Meta+Enter" : "Ctrl+Enter"), '.hypha-tabs__link[href^="/edit/"]', 'Edit this hypha'); this.bindElement('a', '.hypha-tabs__link[href^="/attachment/"]', 'Go to attachment'); this.bindElement('h', '.hypha-tabs__link[href^="/history/"]', 'Go to history'); this.bindElement('r', '.hypha-tabs__link[href^="/rename-ask/"]', 'Rename this hypha');