Permalink
Browse files

Cancel the change for FF4

  • Loading branch information...
1 parent 0aab63e commit e0d8827c09e1a9442e5baf3c6cbdaab06f0fdc22 @pure committed Mar 25, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 libs/pure.js
View
@@ -7,7 +7,7 @@
Copyright (c) 2011 Michael Cvilic - BeeBole.com
Thanks to Rog Peppe for the functional JS jump
- revision: 2.69
+ revision: 2.70
*/
var $p, pure = $p = function(){
@@ -281,9 +281,9 @@ $p.core = function(sel, ctxt, plugins){
attName = isClass ? 'className' : attr;
setstr = function(node, s) {
node.setAttribute(attPfx + attr, s);
-/* FF4 if (attName in node && !isStyle) {
+ if (attName in node && !isStyle) {
node[attName] = '';
- }*/
+ }
if (node.nodeType === 1) {
node.removeAttribute(attr);
isClass && node.removeAttribute(attName);

0 comments on commit e0d8827

Please sign in to comment.