PageSourceSearch

https://rtems.com/themes/contrib/corporateplus/js/init/magnific-popup-field-image-init.js?v=11.4.5

js rtems.com collected 2026-09-24 22:03:07 UTC 688 bytes, 20 lines download raw bytes

1(function ($, Drupal, drupalSettings, once) {
2  Drupal.behaviors.mtMagnificPopupFieldImage = {
3    attach: function (context, settings) {
4      const element = once('mtMagnificPopupFieldImageInit', ".field--name-field-image a.image-popup", context);
5      $(element).magnificPopup({
6        type:"image",
7        removalDelay: 300,
8        mainClass: "mfp-fade",
9        gallery: {
10          enabled: true, // set to true to enable gallery
11        },
12        image: {
13          titleSrc: function(item) {
14            return item.el.closest('.overlay-container').children()[1].title || '';
15          }
16        }
17      });
18    }
19  };
20})(window.jQ3 || jQuery, Drupal, drupalSettings, once);

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.