diff options
author | Naoki Fukino <fukino@chromium.org> | 2014-11-14 13:56:23 +0900 |
---|---|---|
committer | Naoki Fukino <fukino@chromium.org> | 2014-11-14 04:57:16 +0000 |
commit | 368467d9e7361d8a46e482454e7d9032b2fd9067 (patch) | |
tree | abcd415823c08c9c971f5d5d75b0868cf395919b | |
parent | c2b8e01e03e1f94a13c3944adaf1995459b523b4 (diff) | |
download | chromium_src-368467d9e7361d8a46e482454e7d9032b2fd9067.zip chromium_src-368467d9e7361d8a46e482454e7d9032b2fd9067.tar.gz chromium_src-368467d9e7361d8a46e482454e7d9032b2fd9067.tar.bz2 |
Correct toggle-view button of file_manager.
BUG=432044
TEST=manually
TBR=hirono@chromium.org
Review URL: https://codereview.chromium.org/694813005
Cr-Commit-Position: refs/heads/master@{#303622}
(cherry picked from commit 5d80dc101ded31b581516cdbe5786cc993ca3958)
Review URL: https://codereview.chromium.org/720413002
Cr-Commit-Position: refs/branch-heads/2214@{#38}
Cr-Branched-From: 03655fd3f6d72165dc3c9bd2c89807305316fe6c-refs/heads/master@{#303346}
-rw-r--r-- | ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js b/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js index a49d2d9..0df02c3 100644 --- a/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js +++ b/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js @@ -224,13 +224,13 @@ FileManagerUI.prototype.setCurrentListType = function(listType) { switch (listType) { case ListContainer.ListType.DETAIL: - this.toggleViewButton.classList.add('table'); - this.toggleViewButton.classList.remove('grid'); + this.toggleViewButton.classList.remove('table'); + this.toggleViewButton.classList.add('grid'); break; case ListContainer.ListType.THUMBNAIL: - this.toggleViewButton.classList.add('grid'); - this.toggleViewButton.classList.remove('table'); + this.toggleViewButton.classList.remove('grid'); + this.toggleViewButton.classList.add('table'); break; default: |