PageSourceSearch

https://www.localofferbirmingham.co.uk/wp-content/plugins/sfwd-lms…/assets/js/elementor.js?ver=5.0.5

js localofferbirmingham.co.uk collected 2026-09-24 12:07:19 UTC 1,642 bytes, 51 lines download raw bytes

1/******/ (() => { // webpackBootstrap
2/*!************************************!*\
3  !*** ./src/assets/js/elementor.js ***!
4  \************************************/
5/**
6 * Elementor compatibility script
7 */
8
9(function () {
10  let gridFound, masonryFound;
11  // eslint-disable-next-line no-undef
12  const gridObserver = new MutationObserver(function (mutations) {
13    mutations.forEach(function (mutationRecord) {
14      const grid = mutationRecord.target.querySelector('.learndash-course-grid'),
15        skin = grid.dataset.skin,
16        display = mutationRecord.target.style.display;
17      if ('none' !== display) {
18        if ('grid' === skin) {
19          gridFound = true;
20        } else if ('masonry' === skin) {
21          masonryFound = true;
22        }
23      }
24    });
25    if (gridFound && 'function' ===
26    // eslint-disable-next-line camelcase
27    typeof learndash_course_grid_init_grid_responsive_design) {
28      // eslint-disable-next-line no-undef
29      learndash_course_grid_init_grid_responsive_design();
30    }
31    if (masonryFound && 'function' ===
32    // eslint-disable-next-line camelcase
33    typeof learndash_course_grid_init_masonry_responsive_design) {
34      // eslint-disable-next-line no-undef
35      learndash_course_grid_init_masonry_responsive_design();
36    }
37  });
38  const grids = document.querySelectorAll('.learndash-course-grid');
39  grids.forEach(function (grid) {
40    const target = grid.closest('.elementor-tab-content');
41    if (target) {
42      gridObserver.observe(target, {
43        attributes: true,
44        attributeFilter: ['style']
45      });
46    }
47  });
48})();
49/******/ })()
50;
51//# sourceMappingURL=elementor.js.map

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.