web-manager 3.1.17 → 3.1.19
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
-
|
557
|
+
settings: {
|
558
|
+
openChatButton: {
|
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.settings.openChatButton.background,
|
691
|
+
})
|
692
|
+
.show();
|
685
693
|
}
|
686
694
|
|
687
695
|
// load non-critical libraries
|
package/package.json
CHANGED