PageSourceSearch

https://growingupdigital.org/wp-content/plugins/gs-books-showcase/…/js/gs-bookshowcase.custom.js?ver=1.2.10

js growingupdigital.org collected 2026-10-04 05:14:15 UTC 1,051 bytes, 27 lines download raw bytes

1// ----------- auto height fixing -----------
2(function($){
3
4    function fixButtonHeights() {
5        var heights = new Array();
6
7        // Loop to get all element heights
8        $('.gs_book_theme1 .single-book img').each(function() {
9            // Need to let sizes be whatever they want so no overflow on resize
10            $(this).css('min-height', '0');
11            $(this).css('max-height', 'none');
12            $(this).css('height', 'auto');
13
14            // Then add size (no units) to array
15             heights.push($(this).height());
16        });
17
18        // Find max height of all elements
19        var max = Math.max.apply( Math, heights );
20
21        // Set all heights to max height
22        $('.gs_book_theme1 .single-book img').each(function() {
23            $(this).css('height', max + 'px');
24            // Note: IF box-sizing is border-box, would need to manually add border and padding to height (or tallest element will overflow by amount of vertical border + vertical padding)
25        });
26    }
27})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.