mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
remove var
This commit is contained in:
parent
d54e2c95af
commit
2899c766a1
@ -1065,7 +1065,7 @@ define([
|
||||
* @param {Number} [level] A heading level (e.g., 1 becomes <h1>)
|
||||
*/
|
||||
Notebook.prototype.to_heading = function (index, level) {
|
||||
var level = level || 1;
|
||||
level = level || 1;
|
||||
var i = this.index_or_selected(index);
|
||||
if (this.is_valid_cell_index(i)) {
|
||||
var source_element = this.get_cell_element(i);
|
||||
|
Loading…
Reference in New Issue
Block a user