fixed the location message problem

This commit is contained in:
Daniel Camargo 2013-10-08 21:07:50 -03:00
parent 5cee510380
commit c208c4e5dc

View File

@ -296,7 +296,7 @@ NGApp.controller( 'LocationCtrl', function ($scope, $http, $location, $rootScope
$scope.$on( 'locationNotServed', function(e, data) {
spin.stop();
var pos = PositionsService.pos();
if( pos.type == 'user' ){
if( pos.type() == 'user' ){
$('.location-address').val('').attr('placeholder','Please include a zip code or city name');
} else {
$('.location-address').val('').attr('placeholder','Please enter an address or zip');