summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2015-09-26 14:56:24 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2015-09-26 14:56:24 +0200
commitb500a84ddd23c99dc0a101db0a551e771e6d5cab (patch)
treebbeefa016cda0f862ad2a15a80dbae3f0211653e /pages
parentb62a5bee23380badca2f95c3ad81795fedc40194 (diff)
Remove non-valid href element from #upload-btn
This fixes a silly validation error that was introduced in last commit. The javascript:; is reduntant anyway.
Diffstat (limited to 'pages')
-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 806f6c1..7266f2b 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 or drop file(s)</button>
+<button 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 1626e25..2ba2210 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 o arrastra fitxers(s) ací</button>
+<button 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>