Fix dev typo
authorMichael Ang <mang@archive.org>
Tue, 1 Mar 2011 01:27:08 +0000 (01:27 +0000)
committerMichael Ang <mang@archive.org>
Tue, 1 Mar 2011 01:27:08 +0000 (01:27 +0000)
BookReader/BookReader.js

index ca2a71f..5bd7692 100644 (file)
@@ -807,7 +807,6 @@ BookReader.prototype.lazyLoadImage = function (dummyImage) {
 
         //the width set with .attr is ignored by Internet Explorer, causing it to show the image at its original size
         //but with this one line of css, even IE shows the image at the proper size
-        /*
         .css({
             'width': $(dummyImage).width()+'px',
             'height': $(dummyImage).height()+'px'
@@ -817,7 +816,6 @@ BookReader.prototype.lazyLoadImage = function (dummyImage) {
             'height': $(dummyImage).height(),
             'src': $(dummyImage).data('srcURL')
         });
-        */
                  
     // replace with the new img
     $(dummyImage).before(img).remove();