diff options
author | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2019-01-25 23:56:31 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2019-01-25 23:56:31 +0300 |
commit | 4d4b8e213b41e5038ff719de18c8241d7683395f (patch) | |
tree | a387d3ff184794552139cc321f0641b32b1a51ad /src/components/TheCollections/General.vue | |
parent | 8918f90bd8eed99096ca6f39075460264c95ef62 (diff) |
Prevent page from reloading when adding a new task in Chrome
Diffstat (limited to 'src/components/TheCollections/General.vue')
-rw-r--r-- | src/components/TheCollections/General.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/TheCollections/General.vue b/src/components/TheCollections/General.vue index 3270f995..2125144d 100644 --- a/src/components/TheCollections/General.vue +++ b/src/components/TheCollections/General.vue @@ -26,7 +26,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. id="add-task" class="add-task" > - <form name="addTaskForm" @submit="addTask"> + <form name="addTaskForm" @submit.prevent="addTask"> <input v-model="newTaskName" :placeholder="inputString" :disabled="isAddingTask" |