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

Unified Diff: chrome/browser/resources/md_downloads/manager.js

Issue 2803653003: MD Downloads: improve early loading shim (Closed)
Patch Set: asdf Created 3 years, 8 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/md_downloads/manager.js
diff --git a/chrome/browser/resources/md_downloads/manager.js b/chrome/browser/resources/md_downloads/manager.js
index d01c3d336a940552c343cf61beb57fdcb8522e12..2c6489f00d001e642c1cd19529c709c1e6889875 100644
--- a/chrome/browser/resources/md_downloads/manager.js
+++ b/chrome/browser/resources/md_downloads/manager.js
@@ -52,6 +52,10 @@ cr.define('downloads', function() {
'itemsChanged_(items_.*)',
],
+ attached: function() {
+ document.documentElement.removeAttribute('loading');
+ },
+
/** @private {!PromiseResolver} */
loaded_: new PromiseResolver,

Powered by Google App Engine
This is Rietveld 408576698