fixing js error

This commit is contained in:
Sanj 2012-02-20 22:20:26 +05:30
parent addc753b2f
commit a4234b5b88

View File

@ -99,9 +99,10 @@ function getStopsList(stops) {
}
function getStopForm(stop) {
// console.log(stop);
var $div = $('<div />');
var $displayName = $('<div />').text(stop.display_name).appendTo($div);
var $routes = $('<div />').text("Routes: " + stop.routes);
var $form = $('<form />').apendTo($div);
var $routes = $('<div />').text("Routes: " + stop.routes).appendTo($div);
// var $form = $('<form />').apendTo($div);
return $div;
}