philogb / jit

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web
http://thejit.org
Other
1.51k stars 297 forks source link

Bugfix in $jit.ST.Plot (for multitree) #50

Closed gossi closed 13 years ago

gossi commented 13 years ago

In the jit-2.0.0b.js (uncompressed version) it is line 9262, Class $jit.ST.Plot: Change line from:

return !root || orns.indexOf(elem.getData('orn')) > -1;

to:

return !root || orns.indexOf(node.getData('orn')) > -1;

to make it work again :)

philogb commented 13 years ago

Added that to the master branch, thanks!