summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2015-09-26 13:45:24 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2015-09-26 13:48:13 +0200
commit75b41610bb7d47b4b1e3cf76c40fc276267523e2 (patch)
treeba4cf2c6a607522484272410d3094750a474e063
parent6f51b356a4c08f8ec3b452e92e301062c828dbc5 (diff)
Remove reduntant <span> element in #upload-btn
There seems to be no meaning to having this <span> element here with no styling applied to it. It doesn't have anything to do with drag and drop functionality either, and nothing seems to be broken after removing it.
-rw-r--r--pages/upload_form.swig2
-rw-r--r--pages/upload_formca.swig2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/upload_form.swig b/pages/upload_form.swig
index 126b3c4..806f6c1 100644
--- a/pages/upload_form.swig
+++ b/pages/upload_form.swig
@@ -19,6 +19,6 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#}
-<button href="javascript:;" id="upload-btn" class="btn" type="button">Select <span>or drop </span> file(s)</button>
+<button href="javascript:;" id="upload-btn" class="btn" type="button">Select or drop file(s)</button>
<input type="file" id="upload-input" name="files[]" multiple data-max-size="{{max_upload_size}}MiB">
<ul id="upload-filelist"></ul>
diff --git a/pages/upload_formca.swig b/pages/upload_formca.swig
index 0bb4f7a..1626e25 100644
--- a/pages/upload_formca.swig
+++ b/pages/upload_formca.swig
@@ -21,6 +21,6 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#}
-<button href="javascript:;" id="upload-btn" class="btn" type="button">Selecciona <span>o arrastra</span> fitxers(s) ací</button>
+<button href="javascript:;" id="upload-btn" class="btn" type="button">Selecciona o arrastra fitxers(s) ací</button>
<input type="file" id="upload-input" name="files[]" multiple data-max-size="{{max_upload_size}}MiB">
<ul id="upload-filelist"></ul>