PageSourceSearch

https://airis.spb.ru/local/templates/design_18/components/airis/empty/basket_line/script.js

js airis.spb.ru collected 2026-10-09 18:20:15 UTC 1,040 bytes, 31 lines download raw bytes

1function refresh_basket() {
2
3    $('#basket').load(
4        '/js/ajax/basket.php?reload=Y',
5        {},
6        function() {
7            var price = $("#basket span.price").text(),
8                qty = $("#basket span.qty").text();
9
10            if (qty) {
11				$("#basket").removeClass('basket_empty');
12                $('#fastbasket').html(qty);
13                $('#plashka .basket-footer__button__checkout').removeClass('no-active');
14            } else {
15				$("#basket").addClass('basket_empty');
16                $('#fastbasket').html(0);
17                $('#plashka .basket-footer__button__checkout').addClass('no-active');
18            }
19
20            if (price) {
21                $('#fastbasket2').html(price);
22                $('#basketall').html(price);
23                $('#plashka .basket').addClass('basket-active');
24            } else {
25                $('#fastbasket2').html('0.00');
26                $('#basketall').html('0.00');
27                $('#plashka .basket').removeClass('basket-active');
28            }
29        }
30    );
31}

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.