web-manager 3.1.42 → 3.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
@@ -718,15 +718,15 @@ function Manager() {
|
|
718
718
|
if (chatsyOps.enabled) {
|
719
719
|
var $preChatBtn = select('#prechat-btn');
|
720
720
|
var $preChatBtnSvg = select('#prechat-btn svg path');
|
721
|
-
var
|
721
|
+
var openChatButtonSettings = chatsyOps.config.settings.openChatButton;
|
722
722
|
|
723
723
|
$preChatBtn.css({
|
724
|
-
background:
|
724
|
+
background: openChatButtonSettings.background,
|
725
725
|
})
|
726
726
|
.show();
|
727
727
|
|
728
728
|
$preChatBtnSvg.each(function ($el) {
|
729
|
-
$el.setAttribute('fill',
|
729
|
+
$el.setAttribute('fill', openChatButtonSettings.text)
|
730
730
|
})
|
731
731
|
|
732
732
|
window.chatsy = {};
|
package/package.json
CHANGED