Fix for LL bug 367 Titles without ISBNs display "no cover image available"
authorJoshua Ferraro <jmf@liblime.com>
Thu, 12 Feb 2009 18:59:22 +0000 (12:59 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 27 Mar 2009 22:23:50 +0000 (17:23 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/opac-tmpl/prog/en/js/amazonimages.js

index ce5aadf..f7b4887 100644 (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)) {