Fixed #558: scrolling to search results broken
This commit is contained in:
parent
53b42184a3
commit
21199eb9e0
|
@ -3,6 +3,11 @@
|
|||
https://github.com/josdejong/jsoneditor
|
||||
|
||||
|
||||
## 2018-08-02, version 5.19.2
|
||||
|
||||
- Fixed #558: scrolling to search results broken (regression since v5.19.1).
|
||||
|
||||
|
||||
## 2018-07-28, version 5.19.1
|
||||
|
||||
- Fixed #557: inner contents of the scrollable area being displayed outside of
|
||||
|
|
|
@ -618,7 +618,7 @@ treemode.getDomSelection = function () {
|
|||
* when not.
|
||||
*/
|
||||
treemode.scrollTo = function (top, callback) {
|
||||
var content = this.content;
|
||||
var content = this.scrollableContent;
|
||||
if (content) {
|
||||
var editor = this;
|
||||
// cancel any running animation
|
||||
|
|
Loading…
Reference in New Issue