PageSourceSearch

https://iot.ru/bitrix/templates/.default/components/bitrix/news.list/partners/script.js

js iot.ru collected 2026-10-02 07:12:38 UTC 864 bytes, 30 lines download raw bytes

1var showFormEvent = function () {
2    var $container = $('.js-event-cover__content_scope:not(.a-has-href)'),
3        $form = $('#form_schedule');
4
5    if ($form.length && $container) {
6        $container.empty();
7        $form.removeAttr('hidden');
8        $container.html($form);
9
10        $form.find('input[name="form_text_66"]').val(
11            $('.event-cover__title').text()
12        );
13
14        $('html, body').animate({
15            scrollTop: $container.offset().top - 100
16        }, 800);
17    }
18};
19
20$(document).ready(function () {
21    if ($('#form_schedule[data-form-need-show]').length || window.location.hash === '#open') {
22        showFormEvent();
23    }
24})
25    .on('click', '[data-form-schedule]', function () {
26        showFormEvent();
27    })
28    .on('click', '[data-event-share]', function () {
29        $('.social-group').toggleClass('active');
30    });

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.