Version Description
Email icon bug fixed
Download this release
Release Info
Developer | galdub |
Plugin | Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty |
Version | 2.4.5 |
Comparing to | |
See all releases |
Code changes from version 2.4.4 to 2.4.5
- assets/css/{animation.css → chaty-front.css} +0 -0
- assets/js/cht-front-script.js +2 -2
- cht-icons.php +2 -2
- readme.txt +4 -1
- views/widget.php +1 -1
assets/css/{animation.css → chaty-front.css}
RENAMED
File without changes
|
assets/js/cht-front-script.js
CHANGED
@@ -100,7 +100,7 @@
|
|
100 |
"facebook_messenger" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
101 |
"google_maps" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
102 |
"link" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"<p>", i += "</div>", i += "</div>"),
|
103 |
-
"email" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="mailto:' + a.value + '">', i += a.icon, i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
104 |
"poptin" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="' + a.value + '">', i += a.icon, i += '<p><span class="mobile_none">"+a.title+"</p>', i += "</div>", i += "</div>"),
|
105 |
"skype" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="skype:' + a.value + '?chat">', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
106 |
"sms" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="sms:' + a.value + '">', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
@@ -271,7 +271,7 @@
|
|
271 |
jQuery(".chaty-widget-i.i-trigger-close, .i-trigger.chaty-widget-i").hide();
|
272 |
// jQuery(".chaty-widget .get a").css("top", "-10px");
|
273 |
jQuery(".chaty-widget").addClass("one_widget");
|
274 |
-
jQuery(".chaty-widget-i:first .chaty-widget-i-title:last
|
275 |
|
276 |
jQuery(document).on("click", ".chaty-widget-i", function(){
|
277 |
jQuery(".chaty-widget-i:first .chaty-widget-i-title:last").hide();
|
100 |
"facebook_messenger" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
101 |
"google_maps" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
102 |
"link" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="' + a.value + '" target="'+currentTarget+ '" data-mobile-target="'+mobileTarget+'" data-desktop-target="'+desktopTarget+'" >', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"<p>", i += "</div>", i += "</div>"),
|
103 |
+
"email" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="mailto:' + a.value + '">', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
104 |
"poptin" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="' + a.value + '">', i += a.icon, i += '<p><span class="mobile_none">"+a.title+"</p>', i += "</div>", i += "</div>"),
|
105 |
"skype" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="skype:' + a.value + '?chat">', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
106 |
"sms" == t && (i += '<div class="chaty-widget-i chaty-main-widget '+a.is_mobile+' '+a.is_desktop+' " data-title="' + a.value + '">', i += '<a class="chaty-'+a.slug+'" rel="noopener" href="sms:' + a.value + '">', i += a.icon, i += "</a>", i += '<div class="chaty-widget-i-title">', i += "<p>"+a.title+"</p>", i += "</div>", i += "</div>"),
|
271 |
jQuery(".chaty-widget-i.i-trigger-close, .i-trigger.chaty-widget-i").hide();
|
272 |
// jQuery(".chaty-widget .get a").css("top", "-10px");
|
273 |
jQuery(".chaty-widget").addClass("one_widget");
|
274 |
+
jQuery(".chaty-widget-i:first .chaty-widget-i-title:last").html("<p>"+e.object_settings.cta+"</p>");
|
275 |
|
276 |
jQuery(document).on("click", ".chaty-widget-i", function(){
|
277 |
jQuery(".chaty-widget-i:first .chaty-widget-i-title:last").hide();
|
cht-icons.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
Description: Chat with your website visitors via their favorite channels. Show a chat icon on the bottom of your site and communicate with your customers.
|
6 |
Author: Premio
|
7 |
Author URI: https://premio.io/downloads/chaty/
|
8 |
-
Version: 2.4.
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
@@ -23,7 +23,7 @@ define('CHT_INC', CHT_DIR . '/includes');
|
|
23 |
define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
|
24 |
define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
|
25 |
define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
|
26 |
-
define('CHT_VERSION', "2.4.
|
27 |
|
28 |
if (!function_exists('wp_doing_ajax')) {
|
29 |
function wp_doing_ajax()
|
5 |
Description: Chat with your website visitors via their favorite channels. Show a chat icon on the bottom of your site and communicate with your customers.
|
6 |
Author: Premio
|
7 |
Author URI: https://premio.io/downloads/chaty/
|
8 |
+
Version: 2.4.5
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
23 |
define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
|
24 |
define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
|
25 |
define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
|
26 |
+
define('CHT_VERSION', "2.4.5");
|
27 |
|
28 |
if (!function_exists('wp_doing_ajax')) {
|
29 |
function wp_doing_ajax()
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: galdub, tomeraharon, premio
|
|
3 |
Tags: whatsapp, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, messenger chat icon, contact button, click to call
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 5.3
|
6 |
-
Stable tag: 2.4.
|
7 |
Plugin URI: https://premio.io/downloads/chaty/
|
8 |
|
9 |
Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call buttons
|
@@ -194,6 +194,9 @@ Yes! You can even decide what chat buttons will show up on each device (desktop/
|
|
194 |
|
195 |
== Changelog ==
|
196 |
|
|
|
|
|
|
|
197 |
= 2.4.4 =
|
198 |
Viber mobile Android/iOS bug fixed
|
199 |
|
3 |
Tags: whatsapp, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, messenger chat icon, contact button, click to call
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 5.3
|
6 |
+
Stable tag: 2.4.5
|
7 |
Plugin URI: https://premio.io/downloads/chaty/
|
8 |
|
9 |
Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call buttons
|
194 |
|
195 |
== Changelog ==
|
196 |
|
197 |
+
= 2.4.5 =
|
198 |
+
Email icon bug fixed
|
199 |
+
|
200 |
= 2.4.4 =
|
201 |
Viber mobile Android/iOS bug fixed
|
202 |
|
views/widget.php
CHANGED
@@ -105,7 +105,7 @@ if($len > 0 && $len < 3) {
|
|
105 |
if(!empty($font_family)) {
|
106 |
wp_enqueue_style( 'custom-google-fonts', 'https://fonts.googleapis.com/css?family='.urlencode($font_family), false );
|
107 |
}
|
108 |
-
wp_enqueue_style( 'chaty-front-css', CHT_PLUGIN_URL."assets/css/
|
109 |
wp_enqueue_script("chaty-front-end", CHT_PLUGIN_URL."assets/js/cht-front-script.js", array('jquery'), CHT_VERSION, '1.0', true);
|
110 |
wp_localize_script('chaty-front-end', 'chaty_settings', $data);
|
111 |
?>
|
105 |
if(!empty($font_family)) {
|
106 |
wp_enqueue_style( 'custom-google-fonts', 'https://fonts.googleapis.com/css?family='.urlencode($font_family), false );
|
107 |
}
|
108 |
+
wp_enqueue_style( 'chaty-front-css', CHT_PLUGIN_URL."assets/css/chaty-front.css", array(), CHT_VERSION);
|
109 |
wp_enqueue_script("chaty-front-end", CHT_PLUGIN_URL."assets/js/cht-front-script.js", array('jquery'), CHT_VERSION, '1.0', true);
|
110 |
wp_localize_script('chaty-front-end', 'chaty_settings', $data);
|
111 |
?>
|