Skip to content

Commit 737649b

Browse files
fix startup glitch with UI
On startup, checkSize() is called way too late after splash screen is taken off. This result in a glitch UI for a fraction of a second.
1 parent 92b79a7 commit 737649b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ var refresh_hysplit = function() {
103103
function trackerInit() {
104104
$('#loading,#settingsbox,#aboutbox,#chasebox').hide(); // welcome screen
105105
$('header,#main').show(); // interface elements
106+
checkSize();
106107

107108
if(map) return;
108109

@@ -118,7 +119,6 @@ function trackerInit() {
118119

119120
return;
120121
}
121-
checkSize();
122122
if(!map) load();
123123
}
124124

0 commit comments

Comments
 (0)