View | Details | Raw Unified | Return to bug 31217
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/js/coce.js (-2 / +1 lines)
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
- 

Return to bug 31217