From 7fa84b2fdba189f9978c55335b95a8abdf9f2b82 Mon Sep 17 00:00:00 2001 From: Brian Lange Date: Sat, 20 Feb 2016 12:04:27 -0600 Subject: [PATCH] Map '-' in non-OSX to text 'Minus' --- notebook/static/notebook/js/quickhelp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notebook/static/notebook/js/quickhelp.js b/notebook/static/notebook/js/quickhelp.js index 1e0b26c03..744aae64a 100644 --- a/notebook/static/notebook/js/quickhelp.js +++ b/notebook/static/notebook/js/quickhelp.js @@ -113,6 +113,7 @@ define([ 'end':'End', 'space':'Space', 'backspace':'Backspace', + '-':'Minus' }; var humanize_map; @@ -123,7 +124,7 @@ define([ humanize_map = default_humanize_map; } - var special_case = { pageup: "PageUp", pagedown: "Page Down", 'minus': '-' }; + var special_case = { pageup: "PageUp", pagedown: "Page Down" }; function humanize_key(key){ if (key.length === 1){