Show More
@@ -135,7 +135,7 b" define(['jquery'], function($){" | |||||
135 |
|
135 | |||
136 | HeadingScrollManager.prototype.is_target = function (index) { |
|
136 | HeadingScrollManager.prototype.is_target = function (index) { | |
137 | var cell = this.notebook.get_cell(index); |
|
137 | var cell = this.notebook.get_cell(index); | |
138 |
return cell.cell_type === "heading" && cell.level |
|
138 | return cell.cell_type === "heading" && cell.level <= this._level; | |
139 | }; |
|
139 | }; | |
140 |
|
140 | |||
141 |
|
141 |
General Comments 0
You need to be logged in to leave comments.
Login now