return false from form submit handlers

This commit is contained in:
Danny Coates 2018-02-01 12:49:18 -08:00
parent 2292267e39
commit fd6a3a5579
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
3 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,7 @@ module.exports = function(state, emit) {
state.fileInfo.password = password;
emit('getMetadata');
}
return false;
}
return div;

View File

@ -63,6 +63,7 @@ module.exports = function(state, emit) {
document.getElementById('copy-btn').disabled = false;
emit('password', { password, file });
}
return false;
}
function toggleResetInput(event) {

View File

@ -63,6 +63,7 @@ module.exports = function(state, emit) {
document.getElementById('copy-btn').disabled = false;
emit('password', { password, file });
}
return false;
}
return div;