File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -81,17 +81,19 @@ var SplashScreen = {
81
81
} ,
82
82
hide : function ( ) {
83
83
if ( localSplash ) {
84
+ var innerLocalSplash = localSplash ;
85
+ localSplash = null ;
84
86
window . removeEventListener ( "resize" , onResize , false ) ;
85
87
86
- localSplash . style . opacity = '0' ;
87
- localSplash . style [ "-webkit-transition" ] = "opacity 1s ease-in-out" ;
88
- localSplash . style [ "-moz-transition" ] = "opacity 1s ease-in-out" ;
89
- localSplash . style [ "-ms-transition" ] = "opacity 1s ease-in-out" ;
90
- localSplash . style [ "-o-transition" ] = "opacity 1s ease-in-out" ;
88
+ innerLocalSplash . style . opacity = '0' ;
89
+ innerLocalSplash . style [ "-webkit-transition" ] = "opacity 1s ease-in-out" ;
90
+ innerLocalSplash . style [ "-moz-transition" ] = "opacity 1s ease-in-out" ;
91
+ innerLocalSplash . style [ "-ms-transition" ] = "opacity 1s ease-in-out" ;
92
+ innerLocalSplash . style [ "-o-transition" ] = "opacity 1s ease-in-out" ;
91
93
92
94
window . setTimeout ( function ( ) {
93
- document . body . removeChild ( localSplash ) ;
94
- localSplash = null ;
95
+ document . body . removeChild ( innerLocalSplash ) ;
96
+ innerLocalSplash = null ;
95
97
} , 1000 ) ;
96
98
97
99
You can’t perform that action at this time.
0 commit comments