Skip to content
Browse files

Left an `alert` in here. Closes #46.

  • Loading branch information...
1 parent 6c90720 commit 97415ff87cf07aa02b1271c651ab6ed0164c14cd @Wilto Wilto committed Nov 23, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 picturefill.js
View
1 picturefill.js
@@ -66,7 +66,6 @@
// When the image is loaded, set a width equal to that of the original’s intrinsic width divided by the screen resolution:
newImg.onload = function( e ) {
this.style.maxWidth = this.cloneNode( true ).width / resMatch + "px";
- alert( window.getComputedStyle( this.cloneNode( true ) ).width );
// Clone the original image into memory so the width is unaffected by page styles:
};
picImg.parentNode.replaceChild( newImg, picImg );

0 comments on commit 97415ff

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