Fixed #576: Visualization in mode `view` when an array with more than 100 items is rendered
This commit is contained in:
parent
36f79de242
commit
c680a1ca4c
|
@ -5,6 +5,8 @@ https://github.com/josdejong/jsoneditor
|
|||
|
||||
## not yet released, version 5.24.4
|
||||
|
||||
- Fixed #576: Visualization in mode `view` when an array
|
||||
with more than 100 items is rendered.
|
||||
- Fixed JSONEditor not working on IE11: continue and throw console
|
||||
errors when `Promise` is undefined.
|
||||
- Fixed `onClose` of color picker not being fired when clicking outside
|
||||
|
|
|
@ -79,8 +79,10 @@ function showMoreNodeFactory(Node) {
|
|||
tdContents.appendChild(moreContents);
|
||||
|
||||
var moreTr = document.createElement('tr');
|
||||
if (this.editor.options.mode === 'tree') {
|
||||
moreTr.appendChild(document.createElement('td'));
|
||||
moreTr.appendChild(document.createElement('td'));
|
||||
}
|
||||
moreTr.appendChild(tdContents);
|
||||
moreTr.className = 'jsoneditor-show-more';
|
||||
this.dom.tr = moreTr;
|
||||
|
|
Loading…
Reference in New Issue