Fixed a (harmless) error in the console when clicking right from an enum drop down
This commit is contained in:
parent
b922aceb07
commit
40c1b887e7
|
@ -7,6 +7,8 @@ https://github.com/josdejong/jsoneditor
|
|||
|
||||
- Fixed #285: an issue with the enum drop down when having defined multiple
|
||||
enums in a JSON schema.
|
||||
- Fixed a (harmless) error in the console when clicking right from an enum
|
||||
drop down.
|
||||
|
||||
|
||||
## 2016-05-22, version 5.5.3
|
||||
|
|
|
@ -2346,7 +2346,7 @@ Node.prototype.onEvent = function (event) {
|
|||
}
|
||||
}
|
||||
else {
|
||||
if (domValue) {
|
||||
if (domValue && !this.enum) {
|
||||
util.setEndOfContentEditable(domValue);
|
||||
domValue.focus();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue