Skip to content
Browse files

fixed w.document reference

  • Loading branch information...
1 parent bcbdbae commit 150beccfe81384aa29ffacc3d839c4b2be7c0710 scottjehl committed Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 picturefill.js
View
2 picturefill.js
@@ -11,7 +11,7 @@
(function( w ){
// Test if `<picture>` is supported natively, if so, exit - no polyfill needed.
- if ( !!( w.document.createElement( "picture" ) && !!document.createElement( "source" ) && w.HTMLPictureElement ) ){
+ if ( !!( w.document.createElement( "picture" ) && !!w.document.createElement( "source" ) && w.HTMLPictureElement ) ){
return;
}

0 comments on commit 150becc

Please sign in to comment.
Something went wrong with that request. Please try again.