Permalink
Browse files

clear null conversion error

  • Loading branch information...
1 parent cab5db3 commit 831778e9c8e072b0406230dd311de004dfa2bd4c @jed committed Oct 18, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 fab.js
View
4 fab.js
@@ -23,8 +23,8 @@ fab = function() {
for ( var i = 0; i < list.length; ) arg.appendChild( fab( list[ i++ ] ) )
}
-
- if ( arg.nodeType && !hasOwnProperty( arg, "nodeType" ) ) return arg
+
+ if ( arg.nodeType ) return arg
arg = ( arg += "" ).indexOf( "<!--" )
? doc.createTextNode( arg )

0 comments on commit 831778e

Please sign in to comment.