Plugin Directory

Changeset 2038597


Ignore:
Timestamp:
02/25/2019 07:42:54 AM (7 years ago)
Author:
kranthitech
Message:

Updated Zendesk chat trigger

Location:
yeloni-free-exit-popup/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • yeloni-free-exit-popup/trunk/client/dist/client.min.js

    r2035691 r2038597  
    23822382
    23832383};
    2384 window.defineAutienceChat = function(yetience_callback) {
     2384window.defineAutienceChat = function (yetience_callback) {
    23852385    if (Autience) {
    2386         Autience.lifecycle.postRender.push(function(widget) {
    2387 
    2388             Autience.setup.networks.forEach(function(N) {
     2386        Autience.lifecycle.postRender.push(function (widget) {
     2387
     2388            Autience.setup.networks.forEach(function (N) {
    23892389                bindAutienceChat("zopim")
    23902390            })
     
    23932393            function bindAutienceChat(chatProvider) {
    23942394                //close popup
    2395                 Autience.utils.classListen('autience-open-chat', 'click', function() {
    2396                     if (typeof $zopim != 'undefined') {
     2395                Autience.utils.classListen('autience-open-chat', 'click', function () {
     2396                    if (typeof zE != 'undefined' && typeof $zopim != 'undefined') {
     2397                        zE.activate()
    23972398                        $zopim.livechat.window.show();
     2399                        //$zopim.livechat.window.openPopout()
    23982400                    } else {
    23992401                        console.log('Zopim is not installed')
     
    24052407
    24062408
    2407         Autience.lifecycle.display.push(function(widget) {
     2409        Autience.lifecycle.display.push(function (widget) {
    24082410            if (typeof $zopim != 'undefined') {
    24092411                //for zopim popup to be shown as "in the popup"
     
    24182420                    var yel_loc = chat_wrapper.getBoundingClientRect();
    24192421
    2420                     $zopim(function() {
     2422                    $zopim(function () {
    24212423                        //open the chat if it is closed
    24222424                        $zopim.livechat.window.show();
  • yeloni-free-exit-popup/trunk/yetience-plugin.php

    r2036148 r2038597  
    44Plugin URI: #
    55Description: Exit Popups are the best way to engage visitors leaving your website. Show offers, social buttons, email signup forms or customize it as you like.
    6 Version: 9.0.8
     6Version: 9.0.9
    77Author: Jayasri Nagrale
    88Author URI: http://www.yeloni.com
Note: See TracChangeset for help on using the changeset viewer.