pyc-website

main website for pyc inc.

git clone https://9o.is/git/pyc-website.git

commit c28682b97b0dd5cbcae9a2ba9bf4cc86beaf17d1
parent 829374203cdea4fd54baa6e8e2b8dd8e5d116fcd
Author: Jul <jul@9o.is>
Date:   Mon, 21 Jul 2014 22:25:41 -0400

hide undefined in atm search bar

Diffstat:
Msrc/main/webapp/app/App.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/webapp/app/App.js b/src/main/webapp/app/App.js @@ -549,7 +549,7 @@ app.controller('FindAtmCtrl', ['$scope', '$timeout', '$location', '$anchorScroll $scope.searchPlaceholder = function() { var marker = $scope.currentMarker; - if(marker) { + if(marker.address) { return marker.address + ", " + marker.city + ", " + marker.state; } else { return "Search address, business name ... ";