summaryrefslogtreecommitdiff
path: root/pages/upload_form.swig
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/upload_form.swig
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/upload_form.swig')
-rw-r--r--pages/upload_form.swig2
1 files changed, 1 insertions, 1 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>