1( function( $ ) { 2 /** 3 * @param $scope The Widget wrapper element as a jQuery element 4 * @param $ The jQuery alias 5 */ 6 var WidgetlinklistHandler = function( $scope, $ ) { 7 //console.log( $scope ); 8 //console.log( "Hello from Bestyrelse" ); 9 10 $(".sj_dropdown").change(function(){ 11 12 //console.log($(this).val()); 13 14 $('.sj_dropdown > option').each(function() { 15 16 $($(this).val()).addClass("elementor-hidden-desktop elementor-hidden-tablet elementor-hidden-phone"); 17 18 }); 19 20 $($(this).val()).removeClass("elementor-hidden-desktop elementor-hidden-tablet elementor-hidden-phone"); 21 22 }) 23 24 25 26 27 }; 28 29 // Make sure you run this code under Elementor. 30 $( window ).on( 'elementor/frontend/init', function() { 31 elementorFrontend.hooks.addAction( 'frontend/element_ready/link-list.default', WidgetlinklistHandler ); 32 } ); 33} )( 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.