Fix for LL bug 367 Titles without ISBNs display "no cover image available"

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Joshua Ferraro 2009-02-12 12:59:22 -06:00 committed by Galen Charlton
parent 11bd4a7660
commit 91a998a2ec

View file

@ -1,7 +1,7 @@
// http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
function verify_images() {
$("img").each(function(i){
if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0)) {
if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0) || (this.src.indexOf('syndetics.com') >=0) ) {
w = this.width;
h = this.height;
if ((w == 1) || (h == 1)) {