PageSourceSearch

https://monextranet-campus.ascnd.fr/js/micromodal.js?r=80a07ef5b916fbd76183faeb5653b258

js ascnd.fr collected 2026-10-09 22:25:21 UTC 1,041 bytes, 35 lines download raw bytes

1$(document).on('click', '.js-modal-open', function (event) {
2    toggleModal($($(this).data('target')));
3    return false;
4});
5
6$(document).on('click', '.js-modal-close', function (event) {
7    toggleModal($(this).closest('.dd-modal'));
8});
9
10document.onkeydown = function (evt) {
11    evt = evt || window.event
12    var isEscape = false
13    if ("key" in evt) {
14        isEscape = (evt.key === "Escape" || evt.key === "Esc")
15    } else {
16        isEscape = (evt.keyCode === 27)
17    }
18    if (isEscape && $('body').hasClass('js-modal-active')) {
19        toggleModal($('.dd-modal').not('.opacity-0'));
20    }
21};
22
23function toggleModal(modal) {
24    if(modal.length) {
25        modal.toggleClass('opacity-0 pointer-events-none')
26        $('body').toggleClass('js-modal-active')
27        if($('#document_viewer').length > 0) {
28            if($('#document_viewer').is(':visible')) {
29                $('#document_viewer').addClass('hidden');
30            } else {
31                $('#document_viewer').removeClass('hidden');
32            }
33        }
34    }
35}

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.