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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-4 / +4 lines)
Lines 908-921 Note that permanent location is a code, and location may be an authval. Link Here
908
                        h = this.height;
908
                        h = this.height;
909
                        if ((w == 1) || (h == 1)) {
909
                        if ((w == 1) || (h == 1)) {
910
                            $("#amazon-bookcoverimg").remove();
910
                            $("#amazon-bookcoverimg").remove();
911
                            $("#catalogue_detail_biblio").attr("class","col-xs-12");
912
                        } else if ((this.complete != null) && (!this.complete)) {
911
                        } else if ((this.complete != null) && (!this.complete)) {
913
                            $("#amazon-bookcoverimg").remove();
912
                            $("#amazon-bookcoverimg").remove();
914
                            $("#catalogue_detail_biblio").attr("class","col-xs-12");
915
                        }
913
                        }
916
                    }
914
                    }
917
                });
915
                });
918
                if( $(this).find('img').length < 1 ) $(this).remove();
916
                if( $(this).find('img').length < 1 ){
917
                    $(this).remove();
918
                    $("#catalogue_detail_biblio").attr("class","col-xs-12");
919
                }
919
            });
920
            });
920
            $("#editions img").each(function(i){
921
            $("#editions img").each(function(i){
921
                if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0) || (this.src.indexOf('images-na.ssl-images-amazon.com'))) {
922
                if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0) || (this.src.indexOf('images-na.ssl-images-amazon.com'))) {
922
- 

Return to bug 25007