Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: chrome/browser/resources/ntp4/new_tab.js

Issue 7677032: ntp4: make app-install-via-drag less janky (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more test fixes Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4dcd7069e3a608b12a9a9cb80b01c86128a57ad7..d0707aec030607930f02b8c370248a8373ac38f0 100644
--- a/chrome/browser/resources/ntp4/new_tab.js
+++ b/chrome/browser/resources/ntp4/new_tab.js
@@ -335,8 +335,6 @@ cr.define('ntp4', function() {
*/
function appAdded(app) {
var pageIndex = app.page_index || 0;
- assert(pageIndex == 0, 'pageIndex != 0 not implemented');
-
var page = appsPages[pageIndex];
cardSlider.selectCardByValue(page);
page.appendApp(app, true);

Powered by Google App Engine
This is Rietveld 408576698