oops, <tt> went the way of the dodo, using <code>

This commit is contained in:
Paul Ivanov 2014-03-05 21:27:14 -08:00
parent 06e5858ee2
commit 7974e32150
2 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ var IPython = (function (IPython) {
var i, half, n;
// Command mode
var cmd_div = $('<div/>').append($('<h4>Command Mode (press <tt>esc</tt> to enable)</h4>'));
var cmd_div = $('<div/>').append($('<h4>Command Mode (press <code>esc</code> to enable)</h4>'));
var cmd_sub_div = $('<div/>').addClass('hbox');
var cmd_col1 = $('<div/>').addClass('box-flex0');
var cmd_col2 = $('<div/>').addClass('box-flex0');
@ -98,7 +98,7 @@ var IPython = (function (IPython) {
var i, half, n;
// Edit mode
var edit_div = $('<div/>').append($('<h4>Edit Mode (press <tt>enter</tt> to enable)</h4>'));
var edit_div = $('<div/>').append($('<h4>Edit Mode (press <code>enter</code> to enable)</h4>'));
var edit_sub_div = $('<div/>').addClass('hbox');
var edit_col1 = $('<div/>').addClass('box-flex0');
var edit_col2 = $('<div/>').addClass('box-flex0');

View File

@ -56,7 +56,7 @@ var tour_steps = [
title: "Edit Mode",
placement: 'bottom',
onShow: function(tour) { edit_mode(); },
content: "Pressing <tt>enter</tt> or clicking in the input text area of the cell switches to Edit Mode."
content: "Pressing <code>enter</code> or clicking in the input text area of the cell switches to Edit Mode."
}, {
element: '.selected',
title: "Edit Mode",
@ -68,7 +68,7 @@ var tour_steps = [
title: "Back to Command Mode",
placement: 'bottom',
onShow: function(tour) { IPython.notebook.command_mode(); },
content: "Pressing <tt>esc</tt> or clicking outside of the input text area takes you back to Command Mode."
content: "Pressing <code>esc</code> or clicking outside of the input text area takes you back to Command Mode."
}, {
element: '#keyboard_shortcuts',
title: "Keyboard Shortcuts",