network: fix a variable name
This commit is contained in:
parent
227da25776
commit
42a5531f15
@ -1285,7 +1285,7 @@ NMDeviceWireless.prototype = {
|
|||||||
let menuPos = 0;
|
let menuPos = 0;
|
||||||
for (pos = 0;
|
for (pos = 0;
|
||||||
pos < this._networks.length &&
|
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)
|
if (this._networks[pos] != this._activeNetwork)
|
||||||
menuPos++;
|
menuPos++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user