Remove redundant setting of field name title

This commit is contained in:
Adam Vigneaux 2019-02-11 11:24:05 -05:00
parent dc357061a7
commit 9377ee825d
No known key found for this signature in database
GPG Key ID: D6FE74FFE0A970E7
1 changed files with 0 additions and 2 deletions

View File

@ -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