@banta/sdk 4.6.12 → 4.6.14
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.
- package/bundles/banta-sdk.umd.js +5 -3
- package/bundles/banta-sdk.umd.js.map +1 -1
- package/bundles/banta-sdk.umd.min.js +1 -1
- package/bundles/banta-sdk.umd.min.js.map +1 -1
- package/esm2015/lib/comments/banta-comments/banta-comments.component.js +6 -4
- package/fesm2015/banta-sdk.js +5 -3
- package/fesm2015/banta-sdk.js.map +1 -1
- package/package.json +1 -1
package/bundles/banta-sdk.umd.js
CHANGED
|
@@ -9388,9 +9388,11 @@
|
|
|
9388
9388
|
var callback = function () {
|
|
9389
9389
|
var size = _this.elementRef.nativeElement.getBoundingClientRect();
|
|
9390
9390
|
_this.ngZone.run(function () {
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
|
|
9391
|
+
setTimeout(function () {
|
|
9392
|
+
_this.width = size.width;
|
|
9393
|
+
_this.height = size.height;
|
|
9394
|
+
_this.isMobileSized = _this.width < 500;
|
|
9395
|
+
});
|
|
9394
9396
|
});
|
|
9395
9397
|
};
|
|
9396
9398
|
if (typeof ResizeObserver !== 'undefined') {
|