web-manager 3.1.42 → 3.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. 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 settings = chatsyOps.config.settings
721
+ var openChatButtonSettings = chatsyOps.config.settings.openChatButton;
722
722
 
723
723
  $preChatBtn.css({
724
- background: settings.background,
724
+ background: openChatButtonSettings.background,
725
725
  })
726
726
  .show();
727
727
 
728
728
  $preChatBtnSvg.each(function ($el) {
729
- $el.setAttribute('fill', settings.text)
729
+ $el.setAttribute('fill', openChatButtonSettings.text)
730
730
  })
731
731
 
732
732
  window.chatsy = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.1.42",
3
+ "version": "3.1.43",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "index.js",
6
6
  "scripts": {