diff --git a/client/coffee/controllers/geojsonmapCtrl.coffee b/client/coffee/controllers/geojsonmapCtrl.coffee index 8247342..e43fcaa 100644 --- a/client/coffee/controllers/geojsonmapCtrl.coffee +++ b/client/coffee/controllers/geojsonmapCtrl.coffee @@ -2,13 +2,13 @@ root = this; -mapCenter = +defaultMapCenter = lat: 46.1227 lng: -72.6169 zoom: 7 getLocalStorageCenter = () -> - JSON.parse(localStorage.getItem("mapCenter")) + JSON.parse(localStorage.getItem("mapCenter")) or defaultMapCenter diff --git a/client/coffee/directives/value.coffee b/client/coffee/directives/value.coffee index f436836..2d8046f 100644 --- a/client/coffee/directives/value.coffee +++ b/client/coffee/directives/value.coffee @@ -35,6 +35,7 @@ directive = () -> $scope.isNumber = _.isNumber($scope.value) $scope.isObject = _.isObject($scope.value) $scope.isArray = _.isArray($scope.value) + $scope.isBoolean = _.isBoolean($scope.value) ] return directive diff --git a/client/partials/directives/searchBar.html b/client/partials/directives/searchBar.html index e961444..8c975df 100644 --- a/client/partials/directives/searchBar.html +++ b/client/partials/directives/searchBar.html @@ -11,7 +11,7 @@
  • - Clear + Clear
  • diff --git a/client/partials/document.html b/client/partials/document.html index 56610c7..912e026 100644 --- a/client/partials/document.html +++ b/client/partials/document.html @@ -43,6 +43,6 @@
    - took {{enlapsed_time}} seconds | raw + took {{enlapsed_time | number | replaceAllCommasBySpaces}} seconds | raw
    \ No newline at end of file