Merge branch 'master' of https://github.com/wpopal/opal-estate-pro
This commit is contained in:
commit
dd3eb5dbec
@ -300,15 +300,14 @@ jQuery( document ).ready( function ( $ ) {
|
|||||||
/**
|
/**
|
||||||
* Click to show body popup
|
* Click to show body popup
|
||||||
*/
|
*/
|
||||||
$( 'body' ).delegate( '.opalestate-popup .popup-head', 'click', function () {
|
$( '.popup-head' ).on( 'click', function ( e ) {
|
||||||
var $this = $( this ).parent( '.opalestate-popup' );
|
var $popup = $( this ).closest( '.opalestate-popup' );
|
||||||
$( '.popup-head', $this ).click( function () {
|
$popup.toggleClass( 'active' );
|
||||||
$( '.opalestate-popup.active' ).removeClass( 'active' );
|
} );
|
||||||
$this.toggleClass( 'active' );
|
|
||||||
} );
|
$( '.popup-close' ).on( 'click', function ( e ) {
|
||||||
$( '.popup-close', $this ).click( function () {
|
var $popup = $( this ).closest( '.opalestate-popup' );
|
||||||
$( '.opalestate-popup' ).removeClass( 'active' );
|
$popup.removeClass( 'active' );
|
||||||
} );
|
|
||||||
} );
|
} );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,10 +36,10 @@ $data_deposit = [
|
|||||||
<div class="popup-body">
|
<div class="popup-body">
|
||||||
<div class="popup-close"><i class="fa fa-times" aria-hidden="true"></i></div>
|
<div class="popup-close"><i class="fa fa-times" aria-hidden="true"></i></div>
|
||||||
<div class="contact-share-form-container">
|
<div class="contact-share-form-container">
|
||||||
<h6><?php echo esc_html__( 'Show with in.', 'opalestate-pro' ); ?></h6>
|
<h6><?php esc_html_e( 'Show with in', 'opalestate-pro' ); ?></h6>
|
||||||
<div class="box-content ">
|
<div class="box-content ">
|
||||||
<?php opalesate_property_slide_ranger_template( esc_html__( 'Radius', 'opalestate-pro' ), $data_deposit ); ?>
|
<?php opalesate_property_slide_ranger_template( esc_html__( 'Radius', 'opalestate-pro' ), $data_deposit ); ?>
|
||||||
<p><a href="#"><?php echo esc_html__( 'Of My Location', 'opalestate-pro' ); ?></a></p>
|
<p><?php esc_html_e( 'Of My Location', 'opalestate-pro' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user