@smarterplan/ngx-smarterplan-core 1.2.19 → 1.2.20

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.
@@ -2813,7 +2813,8 @@ class MatterportService {
2813
2813
  // (we are about to validate, but it exists in sdk already)
2814
2814
  this.enable_following_tag(this.mattertagToFollow);
2815
2815
  }
2816
- if (!!this.getCursorPositionButton && !!this.getCursorPositionButton.style(document.URL.indexOf('https://dev.smarterplan.io') !== -1 || document.location.href.indexOf('localhost') !== -1)) {
2816
+ if (!!this.getCursorPositionButton && !!this.getCursorPositionButton.style &&
2817
+ (document.URL.indexOf('https://dev.smarterplan.io') !== -1 || document.location.href.indexOf('localhost') !== -1)) {
2817
2818
  this.getCursorPositionButton.style.display = 'none';
2818
2819
  this.cursorPositionButtonDisplayed = false;
2819
2820
  }