PageSourceSearch

https://galinaturetskaya.ru/nassets/a15a801a/js/subscribe.js?v=1765633901

js galinaturetskaya.ru collected 2026-09-25 20:25:23 UTC 740 bytes, 21 lines download raw bytes

1$(function() {
2    $('body').delegate('.b-notifications-subscribe .button', 'click', function(){
3        var $el = $(this);
4        var isPositive = !$el.hasClass('subscribed');
5        var data = {
6            object_id: $el.data('object-id')
7            , object_type_id: $el.data('object-type-id')
8            , is_positive: isPositive ? 1 : 0
9        };
10        ajaxCall('/notifications/notifications/subscribe', data, {}, function() {
11            if (!isPositive) {
12                $el.html($el.data('msg-subscribe'));
13                $el.removeClass('subscribed');
14            }
15            else {
16                $el.html($el.data('msg-unsubscribe'));
17                $el.addClass('subscribed');
18            }
19        });
20    });
21});

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.