summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-16 22:51:28 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-16 22:51:28 +0900
commit16d4861ff67c057737c9253bcb37fac4fe40eeab (patch)
treed33ec0df9157825a6d593d6292a370db3d1d9ca2 /src
parentFix #924 (diff)
downloadsharkey-16d4861ff67c057737c9253bcb37fac4fe40eeab.tar.gz
sharkey-16d4861ff67c057737c9253bcb37fac4fe40eeab.tar.bz2
sharkey-16d4861ff67c057737c9253bcb37fac4fe40eeab.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/web/app/mobile/tags/drive/file-viewer.tag2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/mobile/tags/drive/file-viewer.tag b/src/web/app/mobile/tags/drive/file-viewer.tag
index 8dc49a0865..2cec4f329e 100644
--- a/src/web/app/mobile/tags/drive/file-viewer.tag
+++ b/src/web/app/mobile/tags/drive/file-viewer.tag
@@ -2,7 +2,7 @@
<div class="preview">
<img if={ kind == 'image' } src={ file.url } alt={ file.name } title={ file.name }>
<i if={ kind != 'image' } class="fa fa-file"></i>
- <footer if={ kind == 'image' }>
+ <footer if={ kind == 'image' && file.properties && file.properties.width && file.properties.height }>
<span class="size">
<span class="width">{ file.properties.width }</span>
<span class="time">×</span>