PageSourceSearch

https://www.cinemacity.cz/xmedia/js/cards.js?v=v2.8.112-dirty

js cinemacity.cz collected 2026-10-02 10:23:34 UTC 1,119 bytes, 36 lines download raw bytes

1/**
2 * Created by t.stulka on 2016-12-16.
3 *
4 * This script calculates metching height for our cards components
5 *
6 * @params tab - jQuery tab on which cards are present or boolean false to trigger on non tabbed area
7 */
8
9var cards = {
10    init: function(tab){
11        if((tab && tab.css('display') !== 'none') || !tab) {
12            var cardContainers = $('.eqWrap .card');
13
14            if(typeof cardContainers !== 'undefined') {
15                var maxHeight = 0;
16                $.each(cardContainers, function (idx, element) {
17                    var $element = $(element);
18                    var height = $element.outerHeight();
19                    if (height > maxHeight) {
20                        maxHeight = height;
21                    }
22                    $('.card-footer', $element).addClass('bottom-fullwidth');
23                });
24                $('.eqWrap div.card').outerHeight(maxHeight);
25            }
26        }
27    },
28
29    onResize: function(tab) {
30        if(window.innerWidth >= 768) {
31            setTimeout(function () {
32                cards.init(tab);
33            }, 100);
34        }
35    }
36};

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.