PageSourceSearch

https://www.4dox.cz/user/templates/static-assets/js/modules/shop-review-homepage.js?build=601

js 4dox.cz collected 2026-10-08 00:12:33 UTC 1,047 bytes, 27 lines download raw bytes

1class ShopReviewHomepage {
2
3    constructor() {
4        this.selector = '#modules-shop-review-homepage';
5        this.initShowAllContent();
6    }
7
8    initShowAllContent() {
9        if ($(this.selector).find('.item .content p').length) {
10            $(this.selector).find('.item .content p').each(function () {
11                var text = $(this).text();
12                var divider = 130;
13                if (text.length > divider) {
14                    $(this).html(text.slice(0, divider) + '<span class="dots">... </span><span class="additional">' + text.slice(divider, text.length) + '</span>');
15                    $(this).parent().find('.show-more-a').show().on('click', function () {
16                        $(this).closest('.content').find('.dots').hide();
17                        $(this).closest('.content').find('.additional').show();
18                        $(this).hide();
19                    });
20                }
21            });
22        }
23    }
24
25}
26
27nody.modules.ShopReviewHomepage = new ShopReviewHomepage();

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.