PageSourceSearch

https://japansimdata.com/wp-content/themes/blonwe/assets/js/custom/layered-dropdown.js?ver=1.3.4

js japansimdata.com collected 2026-10-04 02:21:09 UTC 787 bytes, 27 lines download raw bytes

1(function ($) {
2  "use strict";
3
4	$(document).on('blonweShopPageInit added_to_cart', function () {
5		blonweThemeModule.widgetlayerednavDropdown();
6	});
7
8	blonweThemeModule.widgetlayerednavDropdown = function() {
9		
10		$( 'select.woocommerce-widget-layered-nav-dropdown' ).on( 'change', function() {
11			var slug = $( this ).val();
12			
13			var taxonomyfiltername = $(this).closest('form').find('input').attr('name');
14			$(this).closest('form').find('input[name='+taxonomyfiltername+']').val( slug  );
15			// Submit form on change if standard dropdown.
16			if ( ! $( this ).attr( 'multiple' ) ) {
17				$( this ).closest( 'form' ).trigger( 'submit' );
18			}
19		});
20		
21	}
22	
23	$(document).ready(function() {
24		blonweThemeModule.widgetlayerednavDropdown();
25	});
26
27})(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.