projects
/
bookreader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7892c08
)
Fix dev typo
author
Michael Ang
<mang@archive.org>
Tue, 1 Mar 2011 01:27:08 +0000
(
01:27
+0000)
committer
Michael Ang
<mang@archive.org>
Tue, 1 Mar 2011 01:27:08 +0000
(
01:27
+0000)
BookReader/BookReader.js
patch
|
blob
|
history
diff --git
a/BookReader/BookReader.js
b/BookReader/BookReader.js
index
ca2a71f
..
5bd7692
100644
(file)
--- a/
BookReader/BookReader.js
+++ b/
BookReader/BookReader.js
@@
-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();