Permalink
Browse files

Fix attribute name

  • Loading branch information...
1 parent 49b53f5 commit 3c542252e52f672488c20a1338c3e0db0dddab16 @davidaurelio davidaurelio committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/renderer/svg/svg_event_handlers.js
@@ -47,7 +47,7 @@ define([
* @return {Node}
*/
function findBonsaiObject(node) {
- while (node && (node.nodeType !== ELEMENT_NODE || node.hasAttribute('bs-data-id'))) {
+ while (node && (node.nodeType !== ELEMENT_NODE || node.hasAttribute('data-bs-id'))) {
node = node.parentNode;
}
return node;

0 comments on commit 3c54225

Please sign in to comment.