Chromium Code Reviews| Index: chrome/browser/resources/ntp/apps.js |
| =================================================================== |
| --- chrome/browser/resources/ntp/apps.js (revision 61932) |
| +++ chrome/browser/resources/ntp/apps.js (working copy) |
| @@ -14,6 +14,10 @@ |
| appsSectionContent.removeChild(appsSectionContent.lastChild); |
| } |
| + data.apps.sort(function(a,b) { |
| + return a.app_launch_index - b.app_launch_index |
| + }); |
| + |
| clearClosedMenu(apps.menu); |
| if (data.apps.length == 0) { |
| appsSection.classList.add('disabled'); |