Permalink
Browse files

IE8 came back to className in SP3. Fix the bug.

  • Loading branch information...
1 parent 504a5bc commit fc6c46b55acb260341b744f076569e6ac3d5a3a3 @beebole beebole committed Nov 29, 2009
Showing with 4 additions and 4 deletions.
  1. +2 −2 js/pure.js
  2. +2 −2 js/purePacked.js
View
@@ -7,7 +7,7 @@
Copyright (c) 2009 Michael Cvilic - BeeBole.com
- revision: 1.34
+ revision: 1.35
* * * * * * * * * * * * * * * * * * * * * * * * * */
var $p, pure;
@@ -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',
Oops, something went wrong.

0 comments on commit fc6c46b

Please sign in to comment.