PageSourceSearch

https://www.hellozeeland.com/app/plugins/homerunner/assets/js/clear-dates-btn.js?ver=2.6.7

js hellozeeland.com collected 2026-10-07 16:46:28 UTC 633 bytes, 25 lines download raw bytes

1(function ($) {
2  let isLoading = false;
3
4  $widget = $(`.homelocal-booking-widget`);
5  $widget.on("updating", () => {
6    isLoading = true;
7  });
8  $widget.on("available", () => {
9    isLoading = false;
10  });
11  $widget.on("unavailable", () => {
12    isLoading = false;
13  });
14
15  $(document).on("click", ".homerunner-clear-dates-btn", function () {
16    if (isLoading) {
17      console.debug("Widget is loading, cannot clear dates now.");
18      return false;
19    }
20
21    $(document).trigger("homelocal_availability_calendar_reset_selection");
22    $(document).trigger("homelocal_booking_widget_reset");
23    return false;
24  });
25})(jQuery);

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.