File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 400400 window . splashScreenPresent = true ;
401401
402402 function _removeSplashScreenIfNeeded ( ) {
403+ if ( ! window . __TAURI__ ) {
404+ document . getElementById ( 'phoenix-loading-splash-screen-overlay' ) . classList . remove ( 'forced-hidden' )
405+ }
403406 if ( window . testEnvironment || window . __TAURI__ ) {
404407 // tauri means local builds and, it loads up pretty fast, so splash screen
405408 document . getElementById ( 'phoenix-loading-splash-screen-overlay' ) . remove ( ) ;
501504
502505</ head >
503506< body id ="Phoenix-Main " onload ="_loadPhoenixAfterSplashScreen() ">
504- < div id ="phoenix-loading-splash-screen-overlay ">
507+ < div id ="phoenix-loading-splash-screen-overlay " class =" forced-hidden " >
505508 < iframe id ="splash-screen-frame " style ="width: 100%; height: 100%;border: none " seamless ="true "
506509 title ="Phoenix Splash Screen " src ="assets/phoenix-splash/index.html "> </ iframe >
507510</ div >
You can’t perform that action at this time.
0 commit comments