1
0
mirror of synced 2025-03-10 22:56:12 +03:00

Merge pull request #1859 from mxab/master

fixed invalid index in buildChangeDetails, fixes #1858
This commit is contained in:
Igor Vaynberg 2013-10-31 15:05:29 -07:00
commit 9187ab0c12

View File

@ -3005,7 +3005,9 @@ the specific language governing permissions and limitations under the Apache Lic
for (var j = 0; j < old.length; j++) {
if (equal(this.opts.id(current[i]), this.opts.id(old[j]))) {
current.splice(i, 1);
i--;
if(i>0){
i--;
}
old.splice(j, 1);
j--;
}