diff options
author | Johannes Zellner <johannes@nebulon.de> | 2016-05-18 12:24:10 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@nebulon.de> | 2016-05-18 12:24:11 +0200 |
commit | 34e99d762bb9e435491e8336a1fba0241f8f8c73 (patch) | |
tree | b1656e9c3ee3cc35b886404a5732072ba3d41d06 | |
parent | 6188849c9877c171797d0169f0d339b8697a656f (diff) | |
download | Surfer-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.html | 2 |
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/> |