Permalink
Browse files

return the value for animated attributes

  • Loading branch information...
1 parent f45949e commit 7068ed3a2ea0b3437ecdf8f5ba6741d9bc3aa7a4 @mcfedr committed Jan 30, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Source/Slick/Slick.Finder.js
@@ -860,7 +860,9 @@ for (var p in pseudos) local['pseudo:' + p] = pseudos[p];
var attributeGetters = local.attributeGetters = {
'class': function(){
- return this.getAttribute('class') || typeOf(this.className) == 'string' ? this.className : null;
+ var className = this.className;
+ if (className && className.baseVal !== undefined) className = className.baseVal;
+ return className || this.getAttribute('class');
},
'for': function(){

0 comments on commit 7068ed3

Please sign in to comment.