summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-13 08:32:40 +0200
committerAlon Levy <alon@pobox.com>2015-04-13 08:32:40 +0200
commit3f370dcc110091a7b825e1c45e111b72df9aa342 (patch)
treea8b47cfcaced581e123a67b8bd04fa1530e0e5f7 /src/client
parentb1e5b321bd2ea762936eea68ff0e7320695e8280 (diff)
client: change shortcuts zen - ctrl-0, zoom ctrl-9 (firefox doesn't like function keys)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/keyshortcuts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/keyshortcuts.js b/src/client/keyshortcuts.js
index 760242f2..eb21ea29 100644
--- a/src/client/keyshortcuts.js
+++ b/src/client/keyshortcuts.js
@@ -22,11 +22,11 @@ function install() {
if (e.altKey && e.ctrlKey && 'i' === key) {
$('#textanalyser').focus();
}
- if (e.keyIdentifier === 'F6') {
+ if (e.ctrlKey && '9' === key) {
rz_core.main_graph_view.nodes__user_visible(selection.related(), true);
handled = true;
}
- if (e.keyIdentifier === 'F7') {
+ if (e.ctrlKey && '0' === key) {
if (!selection.is_empty()) {
rz_core.main_graph_view.zen_mode__toggle();
}