diff --git a/index.html b/index.html
index 8161052..c4650d7 100755
--- a/index.html
+++ b/index.html
@@ -37,7 +37,7 @@
{{setting.description}}
-
+
-->
diff --git a/src/js/app.js b/src/js/app.js
index 059bd95..8f95b2c 100755
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -61,7 +61,7 @@ app.controller('myCtrl', function($scope, $http, $rootScope, $sce) {
valid: false,
id: 1
- },
+ },
{
Description: "Start typing to search...",
lbl: "Drop",
@@ -104,20 +104,20 @@ app.controller('myCtrl', function($scope, $http, $rootScope, $sce) {
calcRoute($scope.stops[0], $scope.stops[$scope.stops.length - 1], waypoints);
}
});
- function refreshSettings(completed){
- newSettings = [];
- $scope.settings.forEach(function(s, i){
- if(completed && !s.showOnPageLoad){
- s.showOnRouteLoad = true;
- } else {
- s.showOnRouteLoad = false;
- }
- newSettings.push(s);
- if (i == $scope.settings.length - 1){
- $scope.settings = newSettings;
- }
- })
- }
+ // function refreshSettings(completed){
+ // newSettings = [];
+ // $scope.settings.forEach(function(s, i){
+ // if(completed && !s.showOnPageLoad){
+ // s.showOnRouteLoad = true;
+ // } else {
+ // s.showOnRouteLoad = false;
+ // }
+ // newSettings.push(s);
+ // if (i == $scope.settings.length - 1){
+ // $scope.settings = newSettings;
+ // }
+ // })
+ // }
function slider() {
$("#slider").slider({
animate: "fast",
@@ -328,7 +328,7 @@ app.controller('myCtrl', function($scope, $http, $rootScope, $sce) {
});
slider();
getTime();
- refreshSettings();
+ // refreshSettings();
follow(response.routes[0].overview_path);
} else {
$scope.warning = 'Destination Too Far Away!';
@@ -527,4 +527,3 @@ app.controller('myCtrl', function($scope, $http, $rootScope, $sce) {
});
-
--
libgit2 0.21.0