@voicenter-team/opensips-js 1.0.102 → 1.0.103

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.
@@ -82427,8 +82427,8 @@ class u_e extends Pw {
82427
82427
  drawEmptyWhiteboard() {
82428
82428
  const e = this.selectors.document.getElementById(this.selectors.container);
82429
82429
  e.style.setProperty("min-width", "100%"), e.style.setProperty("height", "100%");
82430
- const t = e.clientWidth, n = e.clientHeight, i = this.selectors.konvaContainer ? this.selectors.konvaContainer : this.selectors.drawerContainer;
82431
- this.konvaDrawer = new Ub({
82430
+ const t = e.clientWidth, n = e.clientHeight, i = this.selectors.document.getElementById(this.selectors.drawerContainer);
82431
+ console.log("konvaContainer", i), this.konvaDrawer = new Ub({
82432
82432
  container: i,
82433
82433
  width: t,
82434
82434
  height: n
@@ -82437,8 +82437,8 @@ class u_e extends Pw {
82437
82437
  this.konvaDrawer.addRect(s, t, n), this.konvaDrawer.initFreeDrawing(s);
82438
82438
  }
82439
82439
  async drawImageWhiteboard() {
82440
- const e = this.selectors.document.getElementById(this.selectors.container), t = e.clientWidth, n = e.clientHeight, i = await dde(this.imageSrc), s = this.selectors.konvaContainer ? this.selectors.konvaContainer : this.selectors.drawerContainer;
82441
- this.konvaDrawer = new Ub({
82440
+ const e = this.selectors.document.getElementById(this.selectors.container), t = e.clientWidth, n = e.clientHeight, i = await dde(this.imageSrc), s = this.selectors.document.getElementById(this.selectors.drawerContainer);
82441
+ console.log("konvaContainer", s), this.konvaDrawer = new Ub({
82442
82442
  container: s,
82443
82443
  width: t,
82444
82444
  height: n