Skip to content
Browse files

MSIE's getAttribute() not working on the leaf node?

  • Loading branch information...
1 parent 50da8d4 commit c450d35e30a5d320a1ee68b13891f041b33a4ad3 @amster committed Oct 11, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 seqtools.js
View
3 seqtools.js
@@ -50,7 +50,8 @@ $SEQ.BubbledEventListener = function (params) {
while (el && el.tagName != 'BODY' && typeof(el.getAttribute) == 'function' && !el.getAttribute(t.action_string)) {
el = el.parentNode;
}
- if (!el || typeof(el.getAttribute) != 'function') {
+ if (!el || !el.getAttribute) {
+ // MSIE: When you get down to the leaf getAttribute() turns into 'object'?
return;
}

0 comments on commit c450d35

Please sign in to comment.
Something went wrong with that request. Please try again.