Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Remove initial
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug-Reed committed Feb 17, 2017
1 parent cb49d4d commit b4df7c4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ define(['angular'], function (angular) {
$scope.weatherData = [];
$scope.loading = false;
$scope.fetchKey = "userWeatherPreference";
$scope.initialPreference = true;
$scope.currentUnits = 'F';
$scope.nextUnits = 'C';

Expand Down Expand Up @@ -111,7 +110,7 @@ define(['angular'], function (angular) {
var userPreference = $scope.nextUnits;


if(userPreference === 'F' && !$scope.initialPreference){
if(userPreference === 'F'){
$scope.changeKToF();
$scope.currentUnits = 'F';
$scope.nextUnits = 'C';
Expand Down

0 comments on commit b4df7c4

Please sign in to comment.