File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -45,21 +45,21 @@ window.addEventListener('load', () => {
4545 const popup = window . open ( endpoint , serviceName , "height=800,width=600" ) ;
4646 const timer = setInterval ( ( ) => {
4747 if ( popup . closed ) {
48- clearInterval ( timer )
48+ clearInterval ( timer ) ;
4949
50- reload ( )
50+ reload ( ) ;
5151 }
5252 try {
5353 if ( popup . location . pathname == '/status' ) {
54- clearInterval ( timer )
54+ clearInterval ( timer ) ;
5555
56- const query = new URLSearchParams ( popup . location . search )
57- popup . close ( )
56+ const query = new URLSearchParams ( popup . location . search ) ;
57+ popup . close ( ) ;
5858
59- const statusTitle = query . get ( 'status-title' )
60- const status = query . get ( 'status' )
59+ const statusTitle = query . get ( 'status-title' ) ;
60+ const status = query . get ( 'status' ) ;
6161
62- showModal ( statusTitle , status )
62+ showModal ( statusTitle , status ) ;
6363 }
6464 } catch {
6565 // do this because every time you try and access the location of a window with a different origin it errors
You can’t perform that action at this time.
0 commit comments