MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.33.244
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/ppcad7no/aircraftelevators.in/../etc/../uttamnagarproperties.com/js/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/aircraftelevators.in/../etc/../uttamnagarproperties.com/js/property-share.js
jQuery(document).ready(function ($) {
    "use strict";
    /*-----------------------------------------------------------------------------------*/
    /* Share Button
     /* https://github.com/carrot/share-button
     /*-----------------------------------------------------------------------------------*/
    var propertyTitle       = $('.single-property-title'),
        propertyDescription = $('.entry-content p:first'),
        propertyThumbnail   = $('.only-for-print img'),
        shareButtonTitle    = $('#share-button-title').text(),
        config = {
            ui: {
                flyout: 'bottom right',
                button_text: shareButtonTitle
            }
        };

    propertyDescription = $.trim(propertyDescription.text());
    if (propertyDescription.length > 100) {
        propertyDescription = propertyDescription.substring(0, 100);
    }

    config.title = propertyTitle.text();
    config.description = propertyDescription;
    config.image = propertyThumbnail.attr('src');

    if ($('body').hasClass('rtl')) {
        config.ui.flyout = 'bottom left';
    }

    new Share(".share-this", config);
});

MMCT - 2023