From 0bbf364e185bc1c513e4dffe5cebc026a091efa5 Mon Sep 17 00:00:00 2001 From: husterxsp Date: Sun, 6 Nov 2016 23:11:37 +0800 Subject: [PATCH] Fixed #656;2ndTime checked property not displayed in IE --- src/editors/object.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/editors/object.js b/src/editors/object.js index 22410db84..4069e5ec0 100644 --- a/src/editors/object.js +++ b/src/editors/object.js @@ -164,7 +164,9 @@ JSONEditor.defaults.editors.object = JSONEditor.AbstractEditor.extend({ row.appendChild(editor.container); }); } - this.row_container.innerHTML = ''; + while (this.row_container.firstChild) { + this.row_container.removeChild(this.row_container.firstChild); + } this.row_container.appendChild(container); }, getPropertySchema: function(key) {