web-manager 3.1.17 → 3.1.18
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 +10 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -554,7 +554,12 @@ function Manager() {
|
|
|
554
554
|
config: {
|
|
555
555
|
accountId: '',
|
|
556
556
|
chatId: '',
|
|
557
|
-
options: {
|
|
557
|
+
options: {
|
|
558
|
+
button: {
|
|
559
|
+
background: '#237afc',
|
|
560
|
+
text: '#ffffff',
|
|
561
|
+
}
|
|
562
|
+
},
|
|
558
563
|
}
|
|
559
564
|
},
|
|
560
565
|
cookieconsent: {
|
|
@@ -681,7 +686,10 @@ function Manager() {
|
|
|
681
686
|
|
|
682
687
|
var chatsyOps = options_user.libraries.chatsy;
|
|
683
688
|
if (chatsyOps.enabled) {
|
|
684
|
-
This.dom().select('#prechat-btn').css({
|
|
689
|
+
This.dom().select('#prechat-btn').css({
|
|
690
|
+
background: chatsyOps.config.options.button.background,
|
|
691
|
+
})
|
|
692
|
+
.show();
|
|
685
693
|
}
|
|
686
694
|
|
|
687
695
|
// load non-critical libraries
|
package/package.json
CHANGED