diff --git a/koha-tmpl/opac-tmpl/prog/en/js/bakertaylorimages.js b/koha-tmpl/opac-tmpl/prog/en/js/bakertaylorimages.js new file mode 100644 index 0000000000..00b025a56d --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/js/bakertaylorimages.js @@ -0,0 +1,11 @@ +// http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html +function bt_verify_images() { + $("img").each(function(i){ + if (this.src.indexOf('btol.com') >= 0) { + h = this.height; + if (h == 20) { + $(this).before(""+NO_BAKERTAYLOR_IMAGE+""); + } + } + }); + }