This file was missing from previous commit. bakertaylorimages.js manages the display of 'missing cover' text when Baker & Taylor images are used.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
c84ad27fbf
commit
eaf82964fb
|
|
@ -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("<span class=\"no-image\" style=\"margin-bottom:5px;width:80px;\">"+NO_BAKERTAYLOR_IMAGE+"</span>");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
Loading…
Reference in New Issue