File tree 1 file changed +10
-4
lines changed
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
174
174
175
175
switchVisibleContainers ( ) ;
176
176
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
+ }
179
182
180
183
console . warn (
181
184
"[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
204
207
meetApi . on ( "readyToClose" , ( ) => {
205
208
switchVisibleContainers ( ) ;
206
209
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
+ }
209
215
210
216
document . getElementById ( "jitsiContainer" ) . innerHTML = "" ;
211
217
} ) ;
You can’t perform that action at this time.
0 commit comments