mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
return false from form submit handlers
This commit is contained in:
@@ -52,6 +52,7 @@ module.exports = function(state, emit) {
|
||||
state.fileInfo.password = password;
|
||||
emit('getMetadata');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
return div;
|
||||
|
||||
@@ -63,6 +63,7 @@ module.exports = function(state, emit) {
|
||||
document.getElementById('copy-btn').disabled = false;
|
||||
emit('password', { password, file });
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function toggleResetInput(event) {
|
||||
|
||||
@@ -63,6 +63,7 @@ module.exports = function(state, emit) {
|
||||
document.getElementById('copy-btn').disabled = false;
|
||||
emit('password', { password, file });
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
return div;
|
||||
|
||||
Reference in New Issue
Block a user