aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/index.html
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-25 11:50:26 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-25 11:50:26 +0200
commitc123fa5422c9c2df741819c4fb9a1b19547866d4 (patch)
treea175d13673874fbc72725dbfbb8c0b1de635245f /vendor/blueimp/jquery-file-upload/index.html
parent0ade8be7f73d13043ad597694aa47cfe77c8d8a8 (diff)
downloadvolse-hubzilla-c123fa5422c9c2df741819c4fb9a1b19547866d4.tar.gz
volse-hubzilla-c123fa5422c9c2df741819c4fb9a1b19547866d4.tar.bz2
volse-hubzilla-c123fa5422c9c2df741819c4fb9a1b19547866d4.zip
update blueimp/jquery-file-upload
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/index.html')
-rw-r--r--vendor/blueimp/jquery-file-upload/index.html20
1 files changed, 12 insertions, 8 deletions
diff --git a/vendor/blueimp/jquery-file-upload/index.html b/vendor/blueimp/jquery-file-upload/index.html
index 37e08a7cb..68ed83717 100644
--- a/vendor/blueimp/jquery-file-upload/index.html
+++ b/vendor/blueimp/jquery-file-upload/index.html
@@ -149,7 +149,9 @@
<span class="preview"></span>
</td>
<td>
- <p class="name">{%=file.name%}</p>
+ {% if (window.innerWidth > 480 || !o.options.loadImageFileTypes.test(file.type)) { %}
+ <p class="name">{%=file.name%}</p>
+ {% } %}
<strong class="error text-danger"></strong>
</td>
<td>
@@ -185,13 +187,15 @@
</span>
</td>
<td>
- <p class="name">
- {% if (file.url) { %}
- <a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a>
- {% } else { %}
- <span>{%=file.name%}</span>
- {% } %}
- </p>
+ {% if (window.innerWidth > 480 || !file.thumbnailUrl) { %}
+ <p class="name">
+ {% if (file.url) { %}
+ <a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a>
+ {% } else { %}
+ <span>{%=file.name%}</span>
+ {% } %}
+ </p>
+ {% } %}
{% if (file.error) { %}
<div><span class="label label-danger">Error</span> {%=file.error%}</div>
{% } %}