From 42a5531f1588ae3063e7d8ff7642e9f81c13afbd Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 27 Apr 2011 09:05:39 -0400 Subject: [PATCH] network: fix a variable name --- js/ui/status/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 49cb3f02b..d56c0b1cc 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1285,7 +1285,7 @@ NMDeviceWireless.prototype = { let menuPos = 0; for (pos = 0; pos < this._networks.length && - this._networkSortFunction(this._networks[i], apObj) < 0; ++pos) { + this._networkSortFunction(this._networks[pos], apObj) < 0; ++pos) { if (this._networks[pos] != this._activeNetwork) menuPos++; }