diff --git a/assets/css/components/calls/window.css b/assets/css/components/calls/window.css index c50f90d2..456e751a 100644 --- a/assets/css/components/calls/window.css +++ b/assets/css/components/calls/window.css @@ -24,4 +24,20 @@ flex-direction: column; background-color: #000000b3; visibility: visible; +} + +.call-window .head { + color: white; + padding: 5px; + margin-left: 5px; + margin-right: 5px; +} + +.call-window .head .fa-phone { + margin-right: 5px; + vertical-align: middle; +} + +.call-window .head a { + color: inherit; } \ No newline at end of file diff --git a/assets/js/components/calls/window.js b/assets/js/components/calls/window.js index 2cff2ca4..66bcbc40 100644 --- a/assets/js/components/calls/window.js +++ b/assets/js/components/calls/window.js @@ -49,7 +49,7 @@ class CallWindow extends CustomEvents { this.closeButton = createElem2({ appendTo: windowHead.querySelector(".pull-right"), type: "a", - innerHTML: "", + innerHTML: "", onclick: () => this.Close() }) @@ -65,6 +65,6 @@ class CallWindow extends CustomEvents { this.rootEl.remove(); if(propagate) - this.emitEvent("closed"); + this.emitEvent("close"); } } \ No newline at end of file