Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Fixes JavaScript lint issue in tree #1132

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
// the "name" attribute is also supported but is deprecated for "text".

// add attributes to tree-branch or tree-item
var attr = value['attr'] || value.dataAttributes || [];
var attr = value.attr || value.dataAttributes || [];
$.each(attr, function (key, value) {
switch (key) {
case 'cssClass':
Expand Down