strathausen / dracula

JavaScript layout and representation of connected graphs.
https://www.graphdracula.net
MIT License
836 stars 132 forks source link

Binding `click` on a node does not work in webkit browsers #8

Closed masklinn closed 12 years ago

masklinn commented 12 years ago

It seems the issue is with the call to Raphael's Element#toFront(): if a click() event is bound on a node with it it will only work (in webkit browsers) during double clicks. If this call is removed, clicks will work correctly.

OS: OSX 10.6.8 Browsers: Safari 5.1, Webkit trunk, Chrome 14