Skip to content

Commit

Permalink
fixed w.document reference
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjehl committed Mar 22, 2012
1 parent bcbdbae commit 150becc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picturefill.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 150becc

Please sign in to comment.