diff options
author | ryoh <ryoh@chromium.org> | 2016-03-17 23:47:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-18 06:49:02 +0000 |
commit | b0ff1b57ae720ec86d8f5a2805837ead0e99a239 (patch) | |
tree | 55684ecdc7935760449a03060ea23d93bb151249 | |
parent | 07892da08747cb20df3856387961dff5f4902cf3 (diff) | |
download | chromium_src-b0ff1b57ae720ec86d8f5a2805837ead0e99a239.zip chromium_src-b0ff1b57ae720ec86d8f5a2805837ead0e99a239.tar.gz chromium_src-b0ff1b57ae720ec86d8f5a2805837ead0e99a239.tar.bz2 |
Files app: You have to use "contentThumbnailUrl" for artwork, and fix nits.
BUG=595966
Review URL: https://codereview.chromium.org/1814143002
Cr-Commit-Position: refs/heads/master@{#381903}
-rw-r--r-- | ui/file_manager/file_manager/foreground/js/ui/single_file_details.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/file_manager/file_manager/foreground/js/ui/single_file_details.js b/ui/file_manager/file_manager/foreground/js/ui/single_file_details.js index 6a191a8..7cfe071 100644 --- a/ui/file_manager/file_manager/foreground/js/ui/single_file_details.js +++ b/ui/file_manager/file_manager/foreground/js/ui/single_file_details.js @@ -135,7 +135,7 @@ SingleFileDetailsPanel.prototype = { video.poster = result.data; }.bind(this)); } - }else if (thumbnailUrl) { + } else if (thumbnailUrl) { video.poster = thumbnailUrl; } this.preview_ = video; @@ -169,7 +169,7 @@ SingleFileDetailsPanel.prototype = { } var img = document.createElement('img'); this.thumbnail_.appendChild(img); - img.src = item.externalFileUrl; + img.src = item.contentThumbnailUrl; this.thumbnail_.classList.toggle('loaded', true); }.bind(this)); } |