Fix linting issues

This commit is contained in:
jos 2019-08-29 14:41:42 +02:00
parent 21d0d532fd
commit 004d1100cd
1 changed files with 4 additions and 2 deletions

View File

@ -2813,7 +2813,7 @@ Node.prototype.onEvent = function (event) {
// noinspection FallthroughInSwitchStatementJS
switch (type) {
case 'blur':
case 'change':
case 'change': {
this._getDomValue()
this._clearValueError()
this._updateDomValue()
@ -2823,6 +2823,7 @@ Node.prototype.onEvent = function (event) {
domValue.innerHTML = escapedValue
}
break
}
case 'input':
// this._debouncedGetDomValue(true); // TODO
@ -2866,7 +2867,7 @@ Node.prototype.onEvent = function (event) {
const domField = dom.field
if (target === domField) {
switch (type) {
case 'blur':
case 'blur': {
this._getDomField(true)
this._updateDomField()
const escapedField = this._escapeHTML(this.field)
@ -2875,6 +2876,7 @@ Node.prototype.onEvent = function (event) {
domField.innerHTML = escapedField
}
break
}
case 'input':
this._getDomField()