dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function($lengthSwap) {
			this.writeDebug('lengthUnitSwap',arguments);

			if ($lengthSwap.val() === 'alt-distance') {
				$('.' + this.settings.locationList + ' .loc-alt-dist').show();
				$('.' + this.settings.locationList + ' .loc-default-dist').hide();
			} else if ($lengthSwap.val() === 'default-distance') {
				$('.' + this.settings.locationList + ' .loc-default-dist').show();
				$('.' + this.settings.locationList + ' .loc-alt-dist').hide();
			}
		}
function($lengthSwap) {
			this.writeDebug('lengthUnitSwap',arguments);

			if ($lengthSwap.val() === 'alt-distance') {
				$('.' + this.settings.locationList + ' .loc-alt-dist').show();
				$('.' + this.settings.locationList + ' .loc-default-dist').hide();
			} else if ($lengthSwap.val() === 'default-distance') {
				$('.' + this.settings.locationList + ' .loc-default-dist').show();
				$('.' + this.settings.locationList + ' .loc-alt-dist').hide();
			}
		}
function ( $lengthSwap ) { this . writeDebug ( 'lengthUnitSwap' , arguments ) ; if ( $lengthSwap . val ( ) === 'alt-distance' ) { $ ( '.' + this . settings . locationList + ' .loc-alt-dist' ) . show ( ) ; $ ( '.' + this . settings . locationList + ' .loc-default-dist' ) . hide ( ) ; } else if ( $lengthSwap . val ( ) === 'default-distance' ) { $ ( '.' + this . settings . locationList + ' .loc-default-dist' ) . show ( ) ; $ ( '.' + this . settings . locationList + ' .loc-alt-dist' ) . hide ( ) ; } }
Handle length unit swap

@param $lengthSwap
Handle length unit swap