remove submit type from buttons
This commit is contained in:
parent
2d1ca4869e
commit
8bc56dc739
@ -30,7 +30,7 @@ const Compose = {
|
|||||||
})
|
})
|
||||||
]),
|
]),
|
||||||
m("div", {class:"row"}, [
|
m("div", {class:"row"}, [
|
||||||
m("button[type=submit]", {
|
m("button", {
|
||||||
class:"btn btn-sm btn-block btn-primary",
|
class:"btn btn-sm btn-block btn-primary",
|
||||||
onclick: sendMail,
|
onclick: sendMail,
|
||||||
disabled: !state.compose.body || !state.compose.subject || !state.compose.recipient,
|
disabled: !state.compose.body || !state.compose.subject || !state.compose.recipient,
|
||||||
|
@ -15,7 +15,7 @@ var LoginButton = function(){
|
|||||||
};
|
};
|
||||||
|
|
||||||
var LogoutButton = function(){
|
var LogoutButton = function(){
|
||||||
return m("button[type=submit]", {
|
return m("button", {
|
||||||
class:"btn btn-sm btn-block btn-secondary",
|
class:"btn btn-sm btn-block btn-secondary",
|
||||||
onclick: logout
|
onclick: logout
|
||||||
}, "Logout");
|
}, "Logout");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user