Skip to content

Commit

Permalink
Set button type to “button”.
Browse files Browse the repository at this point in the history
This closes jaredreich#68, closes jaredreich#69.
  • Loading branch information
jaredreich committed Mar 10, 2018
1 parent 227dca2 commit 15586f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pell.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export const init = settings => {
button.className = settings.classes.button
button.innerHTML = action.icon
button.title = action.title
button.setAttribute('type', 'button')
button.onclick = action.result
actionbar.appendChild(button)
})
Expand Down

0 comments on commit 15586f1

Please sign in to comment.