@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.
@@ -2695,7 +2695,8 @@ class MatterportService {
2695
2695
  // (we are about to validate, but it exists in sdk already)
2696
2696
  this.enable_following_tag(this.mattertagToFollow);
2697
2697
  }
2698
- if (!!this.getCursorPositionButton && !!this.getCursorPositionButton.style(document.URL.indexOf('https://dev.smarterplan.io') !== -1 || document.location.href.indexOf('localhost') !== -1)) {
2698
+ if (!!this.getCursorPositionButton && !!this.getCursorPositionButton.style &&
2699
+ (document.URL.indexOf('https://dev.smarterplan.io') !== -1 || document.location.href.indexOf('localhost') !== -1)) {
2699
2700
  this.getCursorPositionButton.style.display = 'none';
2700
2701
  this.cursorPositionButtonDisplayed = false;
2701
2702
  }