PageSourceSearch

https://www.boatshownorwalk.com/themes/custom/boatshow/assets-dist/js/advertisements.js?v=1.0.0

js boatshownorwalk.com collected 2026-09-24 23:57:39 UTC 758 bytes, 26 lines download raw bytes

1'use strict';
2
3window.BoatShows = window.BoatShows || {};
4
5(function ($, Drupal, BoatShows) {
6  'use strict';
7
8  Drupal.behaviors.boatShowAds = {
9    attach: function attach(context, settings) {
10      $('.pencil-ad', context).once('ads').each(function () {
11        var $pencilAd = $(this);
12        var $adCloseBtn = $pencilAd.find('.field > div').append('<div class="pencil-ad-close icon-db-close"></div>');
13
14        $adCloseBtn.click(function () {
15          $pencilAd.hide();
16
17          if (BoatShows.hasOwnProperty('Header')) {
18            // Set state of header to be fixed if ad is closed
19            BoatShows.Header.setStateFixed();
20          }
21        });
22      });
23    }
24  };
25})(jQuery, Drupal, BoatShows);
26//# sourceMappingURL=advertisements.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.