Remove redundant setting of field name title
This commit is contained in:
parent
dc357061a7
commit
9377ee825d
|
@ -2466,8 +2466,6 @@ Node.prototype.updateDom = function (options) {
|
||||||
domField.contentEditable = this.editable.field;
|
domField.contentEditable = this.editable.field;
|
||||||
domField.spellcheck = false;
|
domField.spellcheck = false;
|
||||||
domField.className = 'jsoneditor-field';
|
domField.className = 'jsoneditor-field';
|
||||||
// add title from schema description to show the tips for user input
|
|
||||||
domField.title = Node._findSchema(this.editor.options.schema || {}, this.editor.options.schemaRefs || {}, this.getPath())['description'] || '';
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// parent is an array this is the root node
|
// parent is an array this is the root node
|
||||||
|
|
Loading…
Reference in New Issue