PageSourceSearch

https://waterinlimburg.nl/communities/common/themes/mett%20threedo…/framework/custom.js?v=3.20261006.1508

js waterinlimburg.nl collected 2026-10-06 22:56:38 UTC 2,543 bytes, 84 lines download raw bytes

1$(document).ready(function() {
2    $("html.threedotfive #mainMenu").initializeMainMenuArrow($("#mainMenu"), "28px");
3
4    if ($("#groups.section").length > 0) {
5        $.fn.updateGroupsLayout();
6
7        if (typeof Sys != "undefined" && typeof Sys.WebForms != "undefined") {
8            // After AJAX call.
9            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function() {
10                $.fn.updateGroupsLayout();
11            });
12        }
13    }
14
15    if ($(".itemInformationBottom").length > 0 &&
16        ($("#news.section").length > 0 ||
17            $("#eParticipation.section").length > 0 ||
18            $("#events.section").length > 0 ||
19            $("#groups.section").length > 0 ||
20            $("#links.section").length > 0)) {
21        $.each($(".itemInformationBottom"), function() {
22            if ($(this)[0].innerHTML.replace(/^\s*/, "").replace(/\s*$/, "") == "") {
23                $(this).closest(".item").addClass("noBottomToolbar");
24                $(this).remove();
25            }
26        });
27    }
28
29    if (($("#cms.item.edit").length > 0 || $(".item.add.edit").length > 0) && $("#toolbarTop .toolbarWrapper:eq(1)").length > 0) {
30        $("#toolbarTop .toolbarWrapper:eq(1)").hide();
31    }
32
33    if ($(".sectionFilters").length > 0) {
34        $.fn.initializeSectionFilters();
35    }
36
37    // Initialize after AJAX call.
38    if (typeof Sys != "undefined" && typeof Sys.WebForms != "undefined") {
39        // After AJAX call.
40        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function() {
41            if ($(".sectionFilters").length > 0) {
42                $.fn.initializeSectionFilters();
43            }
44        });
45    }
46});
47
48$.fn.updateGroupsLayout = function() {
49    $.each($(".item"), function() {
50        $(this).find($(".itemContentRight")).append($(this).find(".itemContent > .toolbar"));
51    });
52};
53
54function loadAdditionalStyles() {
55    defaultStyles.push(
56    {
57        name: "Button outline",
58        element: "span",
59        attributes:
60        {
61            "class": "editorButton outline"
62        }
63    });
64
65    defaultStyles.push(
66    {
67        name: "Secondary Button",
68        element: "span",
69        attributes:
70        {
71            "class": "editorButton secondary"
72        }
73    });
74
75    defaultStyles.push(
76    {
77        name: "Secondary Button outline",
78        element: "span",
79        attributes:
80        {
81            "class": "editorButton secondary outline"
82        }
83    });
84}

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.