PageSourceSearch

https://www.jynarque.com/sites/g/files/qhldwo12166/themes/site/the…/assets/build/js/component/interstitials.js

js jynarque.com collected 2026-10-08 00:24:50 UTC 917 bytes, 24 lines download raw bytes

1'use strict';
2
3(function ($, Drupal) {
4  'use strict';
5
6  Drupal.behaviors.interstitials = {
7    attach: function attach(context, settings) {
8      $(window).on('dialog:aftercreate', function (event, dialog, $element) {
9        if ($element.hasClass('external-link-popup-content')) {
10          var $parent = $element.closest('.external-link-popup');
11
12          if ($parent.length) {
13            $parent.attr('data-test', 'modal');
14            $('.external-link-popup-body', $parent).attr('data-test', 'modal-body');
15            $('.external-link-popup-body h2', $parent).attr('data-test', 'modal-title');
16            $('.ui-dialog-buttonset button', $parent).attr('data-test', 'modal-accept');
17            $('.ui-dialog-titlebar-close', $parent).attr('data-test', 'modal-cancel');
18            $('button.close', $parent).attr('data-test', 'modal-close');
19          }
20        }
21      });
22    }
23  };
24})(jQuery, Drupal);

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.