Open phette23 opened 9 years ago
colorAll now mimics clearAll by testing document.querySelector('.tree-view') first before doing anything, prevents the error where tree view is hidden and a call to treeView.querySelectorAll() still fires.
document.querySelector('.tree-view')
treeView.querySelectorAll()
colorAll now mimics clearAll by testing
document.querySelector('.tree-view')
first before doing anything, prevents the error where tree view is hidden and a call totreeView.querySelectorAll()
still fires.