dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function () {
			this.writeDebug('formFiltersReset');
			if (this.settings.taxonomyFilters === null) {
				return;
			}

			var $inputs = $('.' + this.settings.taxonomyFiltersContainer + ' input'),
				$selects = $('.' + this.settings.taxonomyFiltersContainer + ' select');

			if ( typeof($inputs) !== 'object') {
				return;
			}

			// Loop over the input fields
			$inputs.each(function() {
				if ($(this).is('input[type="checkbox"]') || $(this).is('input[type="radio"]')) {
					$(this).prop('checked',false);
				}
			});

			// Loop over select fields
			$selects.each(function() {
				$(this).prop('selectedIndex',0);
			});
		}
function () {
			this.writeDebug('formFiltersReset');
			if (this.settings.taxonomyFilters === null) {
				return;
			}

			var $inputs = $('.' + this.settings.taxonomyFiltersContainer + ' input'),
				$selects = $('.' + this.settings.taxonomyFiltersContainer + ' select');

			if ( typeof($inputs) !== 'object') {
				return;
			}

			// Loop over the input fields
			$inputs.each(function() {
				if ($(this).is('input[type="checkbox"]') || $(this).is('input[type="radio"]')) {
					$(this).prop('checked',false);
				}
			});

			// Loop over select fields
			$selects.each(function() {
				$(this).prop('selectedIndex',0);
			});
		}
function ( ) { this . writeDebug ( 'formFiltersReset' ) ; if ( this . settings . taxonomyFilters === null ) { return ; } var $inputs = $ ( '.' + this . settings . taxonomyFiltersContainer + ' input' ) , $selects = $ ( '.' + this . settings . taxonomyFiltersContainer + ' select' ) ; if ( typeof ( $inputs ) !== 'object' ) { return ; } // Loop over the input fields $inputs . each ( function ( ) { if ( $ ( this ) . is ( 'input[type="checkbox"]' ) || $ ( this ) . is ( 'input[type="radio"]' ) ) { $ ( this ) . prop ( 'checked' , false ) ; } } ) ; // Loop over select fields $selects . each ( function ( ) { $ ( this ) . prop ( 'selectedIndex' , 0 ) ; } ) ; }
Reset the form filters
Reset the form filters