Skip to content

Commit

Permalink
IE8 came back to className in SP3. Fix the bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
beebole committed Nov 29, 2009
1 parent 504a5bc commit fc6c46b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/pure.js
Expand Up @@ -7,7 +7,7 @@
Copyright (c) 2009 Michael Cvilic - BeeBole.com
revision: 1.34
revision: 1.35
* * * * * * * * * * * * * * * * * * * * * * * * * */
var $p, pure;
Expand Down Expand Up @@ -83,7 +83,7 @@ $p = pure = {
var att = content.join('');
return (/\=\"\"/.test(att)) ? '' : att;},
utils:{
CLASSNAME:/MSIE\s+(6|7)/.test(navigator.userAgent)? 'className':'class',
CLASSNAME:/MSIE\s+(6|7|8)/.test(navigator.userAgent)? 'className':'class',
NS:/MSIE/.test(navigator.userAgent) ? 'pure_':'pure:',
PURECLASS:/MSIE/.test(navigator.userAgent) ? 'pure_class':'pure:class',
AUTO:/MSIE/.test(navigator.userAgent) ? 'pure_autoRender':'pure:autoRender',
Expand Down

0 comments on commit fc6c46b

Please sign in to comment.