Update assets/js/frontend/geolocation.js (fix coding standards)
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
This commit is contained in:
parent
761f155fc3
commit
5380d119ce
|
@ -109,7 +109,7 @@ jQuery( function( $ ) {
|
|||
var method = $this.attr( 'method' );
|
||||
var hasField = $this.find( 'input[name="v"]' ).length > 0;
|
||||
|
||||
if (method && 'get' === method.toLowerCase() && ! hasField) {
|
||||
if ( method && 'get' === method.toLowerCase() && ! hasField ) {
|
||||
$this.append( '<input type="hidden" name="v" value="' + geo_hash + '" />' );
|
||||
} else {
|
||||
var href = $this.attr( 'action' );
|
||||
|
|
Loading…
Reference in New Issue