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
|
||||
*/
|
||||
$( 'body' ).delegate( '.opalestate-popup .popup-head', 'click', function () {
|
||||
var $this = $( this ).parent( '.opalestate-popup' );
|
||||
$( '.popup-head', $this ).click( function () {
|
||||
$( '.opalestate-popup.active' ).removeClass( 'active' );
|
||||
$this.toggleClass( 'active' );
|
||||
} );
|
||||
$( '.popup-close', $this ).click( function () {
|
||||
$( '.opalestate-popup' ).removeClass( 'active' );
|
||||
} );
|
||||
$( '.popup-head' ).on( 'click', function ( e ) {
|
||||
var $popup = $( this ).closest( '.opalestate-popup' );
|
||||
$popup.toggleClass( 'active' );
|
||||
} );
|
||||
|
||||
$( '.popup-close' ).on( 'click', function ( e ) {
|
||||
var $popup = $( this ).closest( '.opalestate-popup' );
|
||||
$popup.removeClass( 'active' );
|
||||
} );
|
||||
|
||||
/**
|
||||
|
@ -36,10 +36,10 @@ $data_deposit = [
|
||||
<div class="popup-body">
|
||||
<div class="popup-close"><i class="fa fa-times" aria-hidden="true"></i></div>
|
||||
<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 ">
|
||||
<?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>
|
||||
|
Loading…
Reference in New Issue
Block a user