File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11CACHE MANIFEST
2- # version 57
2+ # version 58
33
44# gogole maps files
55http://maps.google.com/maps/api/js?v=3.10&sensor=false&key=AIzaSyCOqkcNey4CCyG4X0X5qxHAhCgD8g5DwXg
Original file line number Diff line number Diff line change @@ -208,7 +208,13 @@ $(window).ready(function() {
208208 return confirm ( "Launch your maps app?" ) ;
209209 } ) ;
210210
211- // expand list items
211+ // follow vehicle by clicking on data
212+ $ ( '#main' ) . on ( 'click' , '.row .data' , function ( ) {
213+ var e = $ ( this ) . parent ( ) ;
214+ followVehicle ( parseInt ( e . attr ( 'class' ) . match ( / v e h i c l e ( \d + ) / ) [ 1 ] ) ) ;
215+ } ) ;
216+
217+ // expand/collapse data when header is clicked
212218 $ ( '#main' ) . on ( 'click' , '.row .header' , function ( ) {
213219 var e = $ ( this ) . parent ( ) ;
214220 if ( e . hasClass ( 'active' ) ) {
You can’t perform that action at this time.
0 commit comments