Version Description
Javascript fix when an error occurs for incorrect color
Download this release
Release Info
Developer | buttonizer |
Plugin | Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer |
Version | 1.0.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.6.1
- js/dashboard.js +9 -0
- readme.txt +5 -2
js/dashboard.js
CHANGED
@@ -274,10 +274,19 @@ var buttonizer = {
|
|
274 |
},
|
275 |
|
276 |
rgb2hex: function(rgb) {
|
|
|
|
|
|
|
|
|
277 |
rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
|
278 |
function hex(x) {
|
279 |
return ("0" + parseInt(x).toString(16)).slice(-2);
|
280 |
}
|
|
|
|
|
|
|
|
|
|
|
281 |
return "#" + hex(rgb[1]) + hex(rgb[2]) + hex(rgb[3]);
|
282 |
},
|
283 |
|
274 |
},
|
275 |
|
276 |
rgb2hex: function(rgb) {
|
277 |
+
if(rgb == null || typeof rgb == "null") {
|
278 |
+
return '#eeeeee';
|
279 |
+
}
|
280 |
+
|
281 |
rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
|
282 |
function hex(x) {
|
283 |
return ("0" + parseInt(x).toString(16)).slice(-2);
|
284 |
}
|
285 |
+
|
286 |
+
if(rgb == null || typeof rgb == "null") {
|
287 |
+
return '#eeeeee';
|
288 |
+
}
|
289 |
+
|
290 |
return "#" + hex(rgb[1]) + hex(rgb[2]) + hex(rgb[3]);
|
291 |
},
|
292 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Wordpress Smart Floating Action and Conversion Button Plugin - Buttonizer ===
|
2 |
Contributors: Buttonizer, freemius
|
3 |
Buy plugin: https://buttonizer.pro
|
4 |
-
Tags:
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.8.1
|
7 |
-
Stable tag: 1.0.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -117,6 +117,9 @@ In fact the Buttonizer is an addiction to use. You're website visitors will
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
120 |
= 1.0.6 =
|
121 |
Added new feature: Change the color of each button
|
122 |
From now on you can change the color of each floating action button you make. If you want to create a Floating Menu with different button colors, it is now possible!
|
1 |
=== Wordpress Smart Floating Action and Conversion Button Plugin - Buttonizer ===
|
2 |
Contributors: Buttonizer, freemius
|
3 |
Buy plugin: https://buttonizer.pro
|
4 |
+
Tags: conversion button, smart action button, call button, smart button, buttonizer, floating action button, google event tracking, material design, call to action, conversion, Social Sharing, button
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.8.1
|
7 |
+
Stable tag: 1.0.6.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
117 |
|
118 |
== Changelog ==
|
119 |
|
120 |
+
= 1.0.6.1 =
|
121 |
+
Javascript fix when an error occurs for incorrect color
|
122 |
+
|
123 |
= 1.0.6 =
|
124 |
Added new feature: Change the color of each button
|
125 |
From now on you can change the color of each floating action button you make. If you want to create a Floating Menu with different button colors, it is now possible!
|