diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-04-25 08:52:50 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-04-25 08:52:50 +0200 |
commit | e779335d060b3a51d6a144d23af4097ae6801473 (patch) | |
tree | 2427765313f715a0e5b48228abe5200cb82b787f /vendor/blueimp/jquery-file-upload/jquery-ui.html | |
parent | e937e8fff96a935b14a479c062f6b0d00b90b99d (diff) | |
download | volse-hubzilla-e779335d060b3a51d6a144d23af4097ae6801473.tar.gz volse-hubzilla-e779335d060b3a51d6a144d23af4097ae6801473.tar.bz2 volse-hubzilla-e779335d060b3a51d6a144d23af4097ae6801473.zip |
update composer libs
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/jquery-ui.html')
-rw-r--r-- | vendor/blueimp/jquery-file-upload/jquery-ui.html | 12 |
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> {% } %} |