Fix double initialization of variable, fixes rhbz#1429776.

merge-requests/218/head
Jens Lody 8 years ago
parent 141570b067
commit 48ee4af7f9
  1. 3
      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])

Loading…
Cancel
Save