Bug 18421: (follow-up) Center image in results table
Adds the "thumbnail" class to the image to have it centered. Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
4ecc88b259
commit
47e48f3ade
|
|
@ -32,6 +32,7 @@ KOHA.coce = {
|
|||
$("[id^=coce-thumbnail]."+id).each(function() {
|
||||
var img = document.createElement("img");
|
||||
img.src = url;
|
||||
img.classList.add("thumbnail");
|
||||
img.title = url; //FIXME: to delete
|
||||
$(this).html(img);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue