aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/jquery-ui.html
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/jquery-ui.html')
-rw-r--r--vendor/blueimp/jquery-file-upload/jquery-ui.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/vendor/blueimp/jquery-file-upload/jquery-ui.html b/vendor/blueimp/jquery-file-upload/jquery-ui.html
index e44d41e89..017169d38 100644
--- a/vendor/blueimp/jquery-file-upload/jquery-ui.html
+++ b/vendor/blueimp/jquery-file-upload/jquery-ui.html
@@ -154,7 +154,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"></strong>
</td>
<td>
@@ -184,9 +186,11 @@
</span>
</td>
<td>
- <p class="name">
- <a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a>
- </p>
+ {% if (window.innerWidth > 480 || !file.thumbnailUrl) { %}
+ <p class="name">
+ <a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a>
+ </p>
+ {% } %}
{% if (file.error) { %}
<div><span class="error">Error</span> {%=file.error%}</div>
{% } %}