@netless/telebox-insider 0.2.13 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netless/telebox-insider",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "private": false,
5
5
  "description": "Window widget for Whiteboard",
6
6
  "license": "MIT",
@@ -476,7 +476,7 @@ export class TeleBoxManager {
476
476
  const deletedBoxes = boxes.splice(index, 1);
477
477
  this.boxes$.setValue(boxes);
478
478
  this.focusTopBox();
479
- deletedBoxes.forEach((box) => box.destroy);
479
+ deletedBoxes.forEach((box) => box.destroy());
480
480
  if (!skipUpdate) {
481
481
  if (this.boxes.length <= 0) {
482
482
  this.setMaximized(false);