Skip to content

Commit

Permalink
Fix attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
David Aurelio committed Dec 12, 2012
1 parent 49b53f5 commit 3c54225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/svg/svg_event_handlers.js
Expand Up @@ -47,7 +47,7 @@ define([
* @return {Node} * @return {Node}
*/ */
function findBonsaiObject(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; node = node.parentNode;
} }
return node; return node;
Expand Down

0 comments on commit 3c54225

Please sign in to comment.