Show More
@@ -1073,7 +1073,7 b' define([' | |||||
1073 | * @param {Number} [level] A heading level (e.g., 1 becomes <h1>) |
|
1073 | * @param {Number} [level] A heading level (e.g., 1 becomes <h1>) | |
1074 | */ |
|
1074 | */ | |
1075 | Notebook.prototype.to_heading = function (index, level) { |
|
1075 | Notebook.prototype.to_heading = function (index, level) { | |
1076 | level = level || 1; |
|
1076 | var level = level || 1; | |
1077 | var i = this.index_or_selected(index); |
|
1077 | var i = this.index_or_selected(index); | |
1078 | if (this.is_valid_cell_index(i)) { |
|
1078 | if (this.is_valid_cell_index(i)) { | |
1079 | var source_element = this.get_cell_element(i); |
|
1079 | var source_element = this.get_cell_element(i); |
General Comments 0
You need to be logged in to leave comments.
Login now