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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/list_container.js

Issue 1304883005: Make |context| passed to queryRequiredElement optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whoops Created 5 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: ui/file_manager/file_manager/foreground/js/ui/list_container.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/list_container.js b/ui/file_manager/file_manager/foreground/js/ui/list_container.js
index 3517dd9fb807f142e10ac608040311aca00d6b91..9d7fb65c4d0d4ad0d5b857b0ae98f64c1170eaaa 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/list_container.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/list_container.js
@@ -68,7 +68,7 @@ function ListContainer(element, table, grid) {
* @type {!HTMLElement}
* @const
*/
- this.spinner = queryRequiredElement(element, '.loading-indicator');
+ this.spinner = queryRequiredElement('.loading-indicator', element);
/**
* @type {FileListModel}

Powered by Google App Engine
This is Rietveld 408576698