aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@nebulon.de>2016-05-18 12:24:10 +0200
committerJohannes Zellner <johannes@nebulon.de>2016-05-18 12:24:11 +0200
commit34e99d762bb9e435491e8336a1fba0241f8f8c73 (patch)
treeb1656e9c3ee3cc35b886404a5732072ba3d41d06
parent6188849c9877c171797d0169f0d339b8697a656f (diff)
downloadSurfer-34e99d762bb9e435491e8336a1fba0241f8f8c73.tar.gz
Surfer-34e99d762bb9e435491e8336a1fba0241f8f8c73.tar.zst
Surfer-34e99d762bb9e435491e8336a1fba0241f8f8c73.zip
Stop event processing for upload button
This prevents changing the url
-rw-r--r--app/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/index.html b/app/index.html
index 93fa57e..7faff43 100644
--- a/app/index.html
+++ b/app/index.html
@@ -109,7 +109,7 @@
109 <center> 109 <center>
110 <form id="fileUploadForm"> 110 <form id="fileUploadForm">
111 <input type="file" v-el:upload style="display: none" id="uploadInput"/> 111 <input type="file" v-el:upload style="display: none" id="uploadInput"/>
112 <button class="btn btn-primary" v-on:click="upload()" id="uploadButton">Upload</button> 112 <button class="btn btn-primary" v-on:click.stop.prevent="upload()" id="uploadButton">Upload</button>
113 </form> 113 </form>
114 </center> 114 </center>
115 <br/> 115 <br/>