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

Unified Diff: chrome/browser/resources/downloads/downloads.js

Issue 780773002: Fix some closure compilation issues 8n order to update compiler.jar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: roll back *.jar Created 6 years 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/downloads/downloads.js
diff --git a/chrome/browser/resources/downloads/downloads.js b/chrome/browser/resources/downloads/downloads.js
index dd4fa69e0caa33324667156c3788199665c1bc7c..fd7ccc9e6dee71dd48d02317fc2fb38d95c60fa6 100644
--- a/chrome/browser/resources/downloads/downloads.js
+++ b/chrome/browser/resources/downloads/downloads.js
@@ -175,7 +175,7 @@ Downloads.prototype.updateResults = function() {
noDownloadsOrResults.hidden = hasDownloads;
if (loadTimeData.getBoolean('allow_deleting_history'))
- $('clear-all').hidden = !hasDownloads || this.searchText_;
+ $('clear-all').hidden = !hasDownloads || this.searchText_.length > 0;
};
/**

Powered by Google App Engine
This is Rietveld 408576698