From a480baa394141276b1b8ff3c37f000037fc99ec9 Mon Sep 17 00:00:00 2001 From: Buckaroo Banzai <39065740+BuckarooBanzay@users.noreply.github.com> Date: Thu, 29 Oct 2020 15:01:03 +0100 Subject: [PATCH] use "a" tag instead of button --- public/js/compose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/compose.js b/public/js/compose.js index 226eaa7..f5b124f 100644 --- a/public/js/compose.js +++ b/public/js/compose.js @@ -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,