web-manager 3.1.38 → 3.1.39

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 +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1443,7 +1443,11 @@ function Manager() {
1443
1443
 
1444
1444
  var load_chatsy = function(This, options) {
1445
1445
  return new Promise(function(resolve, reject) {
1446
- if (options.libraries.chatsy.enabled === true) {
1446
+
1447
+ if (
1448
+ options.libraries.chatsy.enabled === true
1449
+ && !This.properties.page._chatsyRequested
1450
+ ) {
1447
1451
  var chatsyPath = 'libraries.chatsy.config';
1448
1452
 
1449
1453
  loadScript({
@@ -1471,6 +1475,7 @@ function Manager() {
1471
1475
  resolve();
1472
1476
  })
1473
1477
 
1478
+ This.properties.page._chatsyRequested = true;
1474
1479
  } else {
1475
1480
  resolve();
1476
1481
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.1.38",
3
+ "version": "3.1.39",
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": {