Skip to content

Commit e59d318

Browse files
should really refresh after the animation
1 parent a81cd1d commit e59d318

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cache.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# version 134
2+
# version 135
33

44
# gogole maps files
55
http://maps.google.com/maps/api/js?v=3.10&sensor=false&key=AIzaSyCOqkcNey4CCyG4X0X5qxHAhCgD8g5DwXg

js/app.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,9 @@ $(window).ready(function() {
221221
e.addClass('active');
222222
var h = $('#map').height() - $('#telemetry_graph').height();
223223
}
224-
$('#map').stop(null,null).animate({'height': h});
225-
if(map) google.maps.event.trigger(map, 'resize');
224+
$('#map').stop(null,null).animate({'height': h}, function() {
225+
if(map) google.maps.event.trigger(map, 'resize');
226+
});
226227
});
227228

228229
// confirm dialog when launchnig a native map app with coordinates

0 commit comments

Comments
 (0)