diff --git a/HISTORY.md b/HISTORY.md index f387532..1c0119a 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -3,6 +3,11 @@ https://github.com/josdejong/jsoneditor +## not yet released, version 5.32.3 + +- Fix #684: `const` used in bundled library. + + ## 2018-04-03, version 5.32.2 - Fixed #416: Clipped action menu for append nodes. diff --git a/src/js/Node.js b/src/js/Node.js index 046b60e..3613f03 100644 --- a/src/js/Node.js +++ b/src/js/Node.js @@ -1967,7 +1967,7 @@ Node.prototype._updateDomDefault = function () { } // select either enum dropdown (select) or input value - const inputElement = this.dom.select + var inputElement = this.dom.select ? this.dom.select : this.dom.value;