summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/md_downloads/manager.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/md_downloads/manager.js')
-rw-r--r--chrome/browser/resources/md_downloads/manager.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/resources/md_downloads/manager.js b/chrome/browser/resources/md_downloads/manager.js
index 21acd29..76017ac 100644
--- a/chrome/browser/resources/md_downloads/manager.js
+++ b/chrome/browser/resources/md_downloads/manager.js
@@ -17,6 +17,10 @@ cr.define('downloads', function() {
},
},
+ hostAttributes: {
+ loading: true,
+ },
+
/**
* @param {Event} e
* @private
@@ -99,7 +103,7 @@ cr.define('downloads', function() {
if (loadTimeData.getBoolean('allowDeletingHistory'))
this.$.toolbar.downloadsShowing = this.hasDownloads_;
- this.$.panel.classList.remove('loading');
+ this.removeAttribute('loading');
},
/**