Index: chrome/browser/resources/file_manager/js/file_manager.js |
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js |
index 12a77ad1676596f5a6ccae2ddb52810b1c4e789e..2d793a5aecf7e173e6cc342bb683615983d503c3 100644 |
--- a/chrome/browser/resources/file_manager/js/file_manager.js |
+++ b/chrome/browser/resources/file_manager/js/file_manager.js |
@@ -520,7 +520,7 @@ FileManager.prototype = { |
this.filenameInput_.addEventListener( |
'focus', this.onFilenameInputFocus_.bind(this)); |
- this.listContainer_ = this.dialogDom_.querySelector('.list-container'); |
+ this.listContainer_ = this.dialogDom_.querySelector('#list-container'); |
this.listContainer_.addEventListener( |
'keydown', this.onListKeyDown_.bind(this)); |
this.listContainer_.addEventListener( |
@@ -642,7 +642,7 @@ FileManager.prototype = { |
}; |
FileManager.prototype.initRootsList_ = function() { |
- this.rootsList_ = this.dialogDom_.querySelector('.roots-list'); |
+ this.rootsList_ = this.dialogDom_.querySelector('#roots-list'); |
cr.ui.List.decorate(this.rootsList_); |
this.rootsList_.startBatchUpdates(); |
@@ -3720,7 +3720,7 @@ FileManager.prototype = { |
}; |
/** |
- * KeyDown event handler for the div.list-container element. |
+ * KeyDown event handler for the div#list-container element. |
*/ |
FileManager.prototype.onListKeyDown_ = function(event) { |
if (event.srcElement.tagName == 'INPUT') { |
@@ -3807,7 +3807,7 @@ FileManager.prototype = { |
}; |
/** |
- * KeyPress event handler for the div.list-container element. |
+ * KeyPress event handler for the div#list-container element. |
*/ |
FileManager.prototype.onListKeyPress_ = function(event) { |
if (event.srcElement.tagName == 'INPUT') { |
@@ -3828,7 +3828,7 @@ FileManager.prototype = { |
}; |
/** |
- * Mousemove event handler for the div.list-container element. |
+ * Mousemove event handler for the div#list-container element. |
*/ |
FileManager.prototype.onListMouseMove_ = function(event) { |
// The user grabbed the mouse, restore the hover highlighting. |