From 82ce5b44b0da16bfbb3bbe46df4504870f9031e6 Mon Sep 17 00:00:00 2001 From: Gerome Matilla Date: Fri, 12 Jun 2020 07:46:44 +0800 Subject: [PATCH] weather cleanup --- js/weather-settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/weather-settings.js b/js/weather-settings.js index f6859bb..e39e8d3 100644 --- a/js/weather-settings.js +++ b/js/weather-settings.js @@ -45,9 +45,9 @@ class WeatherSettings { // Update textbox placeholders _updateWeatherSettingsPlaceholder = () => { - this._apiBox.placeholder = String(this._appID) || 'API Key'; - this._cityBox.placeholder = String(this._cityID) || 'City ID'; - this._weatherSelectUnits.value = String(this._units) || 'metric'; + this._apiBox.placeholder = this._appID; + this._cityBox.placeholder = this._cityID; + this._weatherSelectUnits.value = this._units; } // Update weather settings