PageSourceSearch

https://ds24.ru/bitrix/templates/ranx-landing/assets/js/modal.js

js ds24.ru collected 2026-09-24 11:52:12 UTC 1,005 bytes, 26 lines download raw bytes

1$(document).ready(function(){
2    // Fix problem scroll and focus with multiple modals open
3    // https://github.com/nakupanda/bootstrap3-dialog/issues/70
4    $('.modal').on("hidden.bs.modal", function (e) {
5        if($('.modal:visible').length)
6        {
7            $('.modal-backdrop').first().css('z-index', parseInt($('.modal:visible').last().css('z-index')) - 10);
8            $('body').addClass('modal-open');
9        }
10    }).on("show.bs.modal", function (e) {
11        if($('.modal:visible').length)
12        {
13            $('.modal-backdrop').first().css('z-index', parseInt($('.modal:visible').last().css('z-index')) + 10);
14            $(this).css('z-index', parseInt($('.modal-backdrop').first().css('z-index')) + 10);
15        }
16    });
17
18    $('#videoModal').on('hidden.bs.modal', function (e) {
19        let $modalBody = $(this).find('.modal-body');
20        $modalBody.empty();
21    });
22
23    $('#videoModal').on('shown.bs.modal', function (e) {
24        $(this).css('padding', '0');
25    });
26});

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.