File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,11 @@ function joinConference() { // event handler bound in HTML
174174
175175 switchVisibleContainers ( ) ;
176176
177- // noinspection JSIgnoredPromiseFromCall
178- if ( widgetApi ) widgetApi . setAlwaysOnScreen ( true ) ; // ignored promise because we don't care if it works
177+ if ( widgetApi ) {
178+ // ignored promise because we don't care if it works
179+ // noinspection JSIgnoredPromiseFromCall
180+ widgetApi . setAlwaysOnScreen ( true ) ;
181+ }
179182
180183 console . warn (
181184 "[Jitsi Widget] The next few errors about failing to parse URL parameters are fine if " +
@@ -204,8 +207,11 @@ function joinConference() { // event handler bound in HTML
204207 meetApi . on ( "readyToClose" , ( ) => {
205208 switchVisibleContainers ( ) ;
206209
207- // noinspection JSIgnoredPromiseFromCall
208- if ( widgetApi ) widgetApi . setAlwaysOnScreen ( false ) ; // ignored promise because we don't care if it works
210+ if ( widgetApi ) {
211+ // ignored promise because we don't care if it works
212+ // noinspection JSIgnoredPromiseFromCall
213+ widgetApi . setAlwaysOnScreen ( false ) ;
214+ }
209215
210216 document . getElementById ( "jitsiContainer" ) . innerHTML = "" ;
211217 } ) ;
You can’t perform that action at this time.
0 commit comments