diff --git a/src/extension.js b/src/extension.js index e9dd1c9..e92478a 100644 --- a/src/extension.js +++ b/src/extension.js @@ -720,8 +720,7 @@ const OpenweatherMenuButton = new Lang.Class({ }, get _city() { - let cities = this._cities; - let cities = cities.split(" && "); + let cities = this._cities.split(" && "); if (cities && typeof cities == "string") cities = [cities]; if (!cities[0])