Skip to content

Commit

Permalink
quickhelp usability: 2 boxes
Browse files Browse the repository at this point in the history
As described By Jess and Brian in jupyter#533
  • Loading branch information
Carreau committed Oct 26, 2015
1 parent ff20e1d commit 9cba7dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion notebook/static/notebook/js/quickhelp.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,13 @@ define([
'border. <b>Command mode</b> binds the keyboard to notebook level actions '+
'and is indicated by a grey cell border.'
);
element.append(doc);
if (platform === 'MacOS') {
doc = $('<div/>').addClass('alert alert-info');
var key_div = this.build_key_names();
doc.append(key_div);
element.append(doc);
}
element.append(doc);

// Command mode
var cmd_div = this.build_command_help();
Expand Down

0 comments on commit 9cba7dc

Please sign in to comment.