1jQuery(window).on("elementor/frontend/init", function () { 2 elementorFrontend.hooks.addAction( 3 "frontend/element_ready/rtm-offcanvas.default", 4 function ($scope, $) { 5 const $btn = $scope.find(".menu-button-rometheme"); 6 const $closeBtn = $scope.find(".rkit-offcanvas-close"); 7 const $overlay = $scope.find(".overlay-rometheme"); 8 9 $btn.click(function (e) { 10 e.preventDefault(); 11 $(this).closest(".rkit-offcanvas").addClass("offcanvas-show"); 12 }); 13 14 $closeBtn.click(function (e) { 15 e.preventDefault(); 16 $(this).closest(".rkit-offcanvas").removeClass("offcanvas-show"); 17 }); 18 19 $overlay.click(function (e) { 20 e.preventDefault(); 21 $(this).closest(".rkit-offcanvas").removeClass("offcanvas-show"); 22 }); 23 } 24 ); 25});
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.