зеркало из https://github.com/mozilla/gecko-dev.git
Fix js strict warning about redeclaration of variable. sr=ben
This commit is contained in:
Родитель
60096be1fb
Коммит
b4d8387acc
|
@ -89,8 +89,9 @@
|
|||
this._ensureColumnOrder();
|
||||
|
||||
var cols = [];
|
||||
var col;
|
||||
if (aColBefore.ordinal < aColMove.ordinal) {
|
||||
var col = aColBefore;
|
||||
col = aColBefore;
|
||||
while (col) {
|
||||
if (col.localName == "outlinercol")
|
||||
cols.push(col);
|
||||
|
@ -104,7 +105,7 @@
|
|||
for (i = 0; i < cols.length; ++i)
|
||||
cols[i].ordinal += 2;
|
||||
} else {
|
||||
var col = aColMove.boxObject.nextSibling;
|
||||
col = aColMove.boxObject.nextSibling;
|
||||
while (col) {
|
||||
if (col.localName == "outlinercol")
|
||||
cols.push(col);
|
||||
|
|
Загрузка…
Ссылка в новой задаче