@banta/sdk 4.6.11 → 4.6.12

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.
@@ -9224,6 +9224,7 @@
9224
9224
  this.activatedRoute = activatedRoute;
9225
9225
  this.matSnackBar = matSnackBar;
9226
9226
  this.ngZone = ngZone;
9227
+ this.isMobileSized = false;
9227
9228
  this.viewReady = new Promise(function (r) { return _this.markViewReady = r; });
9228
9229
  // Loading Screen
9229
9230
  this._loadingMessage = '';
@@ -9381,11 +9382,6 @@
9381
9382
  }
9382
9383
  }
9383
9384
  };
9384
- Object.defineProperty(BantaCommentsComponent.prototype, "isMobileSized", {
9385
- get: function () { return this.width < 500; },
9386
- enumerable: false,
9387
- configurable: true
9388
- });
9389
9385
  BantaCommentsComponent.prototype.ngAfterViewInit = function () {
9390
9386
  var _this = this;
9391
9387
  if (typeof window !== 'undefined') {
@@ -9394,6 +9390,7 @@
9394
9390
  _this.ngZone.run(function () {
9395
9391
  _this.width = size.width;
9396
9392
  _this.height = size.height;
9393
+ _this.isMobileSized = _this.width < 500;
9397
9394
  });
9398
9395
  };
9399
9396
  if (typeof ResizeObserver !== 'undefined') {
@@ -9405,6 +9402,7 @@
9405
9402
  setTimeout(function () {
9406
9403
  _this.width = _this.elementRef.nativeElement.clientWidth;
9407
9404
  _this.height = _this.elementRef.nativeElement.clientHeight;
9405
+ _this.isMobileSized = _this.width < 500;
9408
9406
  }, 1000);
9409
9407
  }
9410
9408
  callback();