Chromium Code Reviews| Index: chrome/browser/resources/ntp4/new_tab.js |
| diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js |
| index 35064fa9a8b168a78dc808f0a2e557bbc75ca246..cafa80a0316b163f9530010dcbd68d195e928d46 100644 |
| --- a/chrome/browser/resources/ntp4/new_tab.js |
| +++ b/chrome/browser/resources/ntp4/new_tab.js |
| @@ -354,7 +354,7 @@ cr.define('ntp4', function() { |
| // Sort by launch index |
| apps.sort(function(a, b) { |
| - return a.app_launch_index - b.app_launch_index; |
| + return a.app_launch_index > b.app_launch_index; |
|
Dan Beam
2011/11/12 02:28:30
Hmmm, would it be better to
return +a.app_launc
csharp
2011/11/14 16:22:28
We don't want to do this because the app_launch_in
|
| }); |
| // An app to animate (in case it was just installed). |