button[type=button] => button[type=submit]

I went through the tutorial.
button[type=button] was not working for me.
button[type=submit] did.
This commit is contained in:
Stefan Thon 2017-03-29 11:14:43 +02:00 committed by GitHub
parent 7ba74ad424
commit c904758f10

View file

@ -477,7 +477,7 @@ module.exports = {
oninput: m.withAttr("value", function(value) {User.current.lastName = value}),
value: User.current.lastName
}),
m("button.button[type=button]", "Save"),
m("button.button[type=submit]", "Save"),
])
}
}