function weatherData(city) {
      $("#addCity").val("");
      if (cities.includes(city) === false) {
        cities.push(city);
        saveCity();  
      }
        citySearchList();
        weatherToday(city);
        forecastDeck(city);
    }
// Loads city on refresh only add cities if not in the list
Loads city on refresh only add cities if not in the list
Loads city on refresh only add cities if not in the list
function weatherData(city) {
      $("#addCity").val("");
      if (cities.includes(city) === false) {
        cities.push(city);
        saveCity();  
      }
        citySearchList();
        weatherToday(city);
        forecastDeck(city);
    }
function weatherData ( city ) { $ ( "#addCity" ) . val ( "" ) ; if ( cities . includes ( city ) === false ) { cities . push ( city ) ; saveCity ( ) ; } citySearchList ( ) ; weatherToday ( city ) ; forecastDeck ( city ) ; }
Loads city on refresh only add cities if not in the list
Loads city on refresh only add cities if not in the list