1/** 2 * Start vertical menu widget script 3 */ 4 5(function ($, elementor) { 6 'use strict'; 7 // Vertical Menu 8 var widgetVerticalMenu = function ($scope, $) { 9 var $vrMenu = $scope.find('.bdt-vertical-menu'); 10 var $settings = $vrMenu.data('settings'); 11 if (!$vrMenu.length) { 12 return; 13 } 14 15 //.attr("onclick", "event.stopPropagation();"); 16 $('#' + $settings.id).metisMenu(); 17 18 19 if ('yes' == $settings.removeParentLink) { 20 $($vrMenu).find('.has-arrow').attr('href', 'javascript:void(0);') 21 // $($vrMenu).find('.has-arrow').on('click', function () { 22 // return false; 23 // }); 24 } 25 } 26 jQuery(window).on('elementor/frontend/init', function () { 27 elementorFrontend.hooks.addAction('frontend/element_ready/bdt-vertical-menu.default', widgetVerticalMenu); 28 }); 29 30 31}(jQuery, window.elementorFrontend)); 32 33/** 34 * End vertical menu widget script 35 */
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.