use "a" tag instead of button

This commit is contained in:
Buckaroo Banzai 2020-10-29 15:01:03 +01:00 committed by GitHub
parent 304baf2feb
commit a480baa394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ const Compose = {
})
]),
m("div", {class:"row"}, [
m("button", {
m("a", {
class:"btn btn-sm btn-block btn-primary",
onclick: sendMail,
disabled: !state.compose.body || !state.compose.subject || !state.compose.recipient,