Show More
@@ -348,7 +348,7 b' define(["widgets/js/manager",' | |||
|
348 | 348 | // Walk the lists until an unequal entry is found. |
|
349 | 349 | var i; |
|
350 | 350 | for (i = 0; i < new_list.length; i++) { |
|
351 |
if (i |
|
|
351 | if (i >= old_list.length || new_list[i] !== old_list[i]) { | |
|
352 | 352 | break; |
|
353 | 353 | } |
|
354 | 354 | } |
@@ -359,7 +359,7 b' define(["widgets/js/manager",' | |||
|
359 | 359 | } |
|
360 | 360 | |
|
361 | 361 | // Add the rest of the new list items. |
|
362 |
for ( |
|
|
362 | for (; i < new_list.length; i++) { | |
|
363 | 363 | added_callback(new_list[i]); |
|
364 | 364 | } |
|
365 | 365 | }, |
General Comments 0
You need to be logged in to leave comments.
Login now