diff --git a/public/js/compose.js b/public/js/compose.js index e36dc70..226eaa7 100644 --- a/public/js/compose.js +++ b/public/js/compose.js @@ -30,7 +30,7 @@ const Compose = { }) ]), m("div", {class:"row"}, [ - m("button[type=submit]", { + m("button", { class:"btn btn-sm btn-block btn-primary", onclick: sendMail, disabled: !state.compose.body || !state.compose.subject || !state.compose.recipient, diff --git a/public/js/login.js b/public/js/login.js index dbebb39..47170a7 100644 --- a/public/js/login.js +++ b/public/js/login.js @@ -15,7 +15,7 @@ var LoginButton = function(){ }; var LogoutButton = function(){ - return m("button[type=submit]", { + return m("button", { class:"btn btn-sm btn-block btn-secondary", onclick: logout }, "Logout");