diff options
author | zotlabs <mike@macgirvin.com> | 2019-04-25 21:49:18 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-04-25 21:49:18 -0700 |
commit | e6521d1cf3166a888ad58b09059d9dc5746ad795 (patch) | |
tree | 6ab3e41d888f18b2dcad351f86c3ed0628eda307 /vendor/blueimp/jquery-file-upload/jquery-ui.html | |
parent | 96785e8df1b325a32c93ebebf67ab5208f4088dc (diff) | |
parent | d689778465c0439d0ceae071dab2509e3f95403e (diff) | |
download | volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.tar.gz volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.tar.bz2 volse-hubzilla-e6521d1cf3166a888ad58b09059d9dc5746ad795.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
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> {% } %} |