Skip to content

Commit

Permalink
Fix #100
Browse files Browse the repository at this point in the history
  • Loading branch information
jdorn committed Apr 30, 2014
1 parent 199a8c4 commit 86b4eeb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions dist/jsoneditor.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*! JSON Editor v0.6.5 - JSON Schema -> HTML Editor
/*! JSON Editor v0.6.6 - JSON Schema -> HTML Editor
* By Jeremy Dorn - https://github.com/jdorn/json-editor/
* Released under the MIT license
*
* Date: 2014-04-27
* Date: 2014-04-30
*/

/**
Expand Down Expand Up @@ -2208,9 +2208,9 @@ JSONEditor.defaults.editors.string = JSONEditor.AbstractEditor.extend({


this.template = null;
this.input.parentNode.removeChild(this.input);
if(this.label) this.label.parentNode.removeChild(this.label);
if(this.description) this.description.parentNode.removeChild(this.description);
if(this.input.parentNode) this.input.parentNode.removeChild(this.input);
if(this.label && this.label.parentNode) this.label.parentNode.removeChild(this.label);
if(this.description && this.description.parentNode) this.description.parentNode.removeChild(this.description);

this._super();
},
Expand Down
10 changes: 5 additions & 5 deletions dist/jsoneditor.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/editors/string.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,9 @@ JSONEditor.defaults.editors.string = JSONEditor.AbstractEditor.extend({


this.template = null;
this.input.parentNode.removeChild(this.input);
if(this.label) this.label.parentNode.removeChild(this.label);
if(this.description) this.description.parentNode.removeChild(this.description);
if(this.input.parentNode) this.input.parentNode.removeChild(this.input);
if(this.label && this.label.parentNode) this.label.parentNode.removeChild(this.label);
if(this.description && this.description.parentNode) this.description.parentNode.removeChild(this.description);

this._super();
},
Expand Down
4 changes: 2 additions & 2 deletions src/intro.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*! JSON Editor v0.6.5 - JSON Schema -> HTML Editor
/*! JSON Editor v0.6.6 - JSON Schema -> HTML Editor
* By Jeremy Dorn - https://github.com/jdorn/json-editor/
* Released under the MIT license
*
* Date: 2014-04-27
* Date: 2014-04-30
*/

/**
Expand Down

0 comments on commit 86b4eeb

Please sign in to comment.