Skip to content

Commit cf9a7b6

Browse files
committed
Fix nodata: true option for empty tree
1 parent 6d9443f commit cf9a7b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.fancytree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4511,7 +4511,7 @@
45114511
tree.options.nodata === true &&
45124512
node.isRootNode()
45134513
) {
4514-
noDataRes = tree.options.strings.nodata;
4514+
noDataRes = tree.options.strings.noData;
45154515
} else if (
45164516
typeof tree.options.nodata === "string" &&
45174517
node.isRootNode()

0 commit comments

Comments
 (0)