Permalink
Browse files

Minor tweaks. Changed page title name and undefined checking.

  • Loading branch information...
1 parent 79c101b commit bdece243fab8f71c25b2a4d5830d64512d81d5a0 @cmdoptesc committed Aug 26, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.html
  2. +1 −1 js/mymuni-api.js
View
@@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>myMuni</title>
+ <title>muniNow</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
View
@@ -38,7 +38,7 @@ var nextBusser = function(agency) {
_buildQuery: function(baseQuery, stopsArray, destsArray) {
for(var i=0; i<stopsArray.length; i++) {
baseQuery += '&stops='+ stopsArray[i].r +'|'+ stopsArray[i].s;
- if(destsArray && destsArray[i]) { baseQuery += '&stops='+ destsArray[i].r +'|'+ destsArray[i].s; }
+ if(destsArray && typeof destsArray[i] !== 'undefined') { baseQuery += '&stops='+ destsArray[i].r +'|'+ destsArray[i].s; }
}
return baseQuery;
},

0 comments on commit bdece24

Please sign in to comment.