|
Lines 36-42
KOHA.coce = {
Link Here
|
| 36 |
img.onload = function() { |
36 |
img.onload = function() { |
| 37 |
// image dimensions can't be known until image has loaded |
37 |
// image dimensions can't be known until image has loaded |
| 38 |
if (img.height == 1 && img.width == 1) { |
38 |
if (img.height == 1 && img.width == 1) { |
| 39 |
$(this).closest(".coce-coverimg").remove(); |
39 |
$("#coce-coverimg").remove(); |
| 40 |
} |
40 |
} |
| 41 |
}; |
41 |
}; |
| 42 |
$(this).attr('href', url); |
42 |
$(this).attr('href', url); |
| 43 |
- |
|
|