Skip to content

Commit

Permalink
fix(link prompt submit): Move link prompt submit action to submit but…
Browse files Browse the repository at this point in the history
…ton (#132)
  • Loading branch information
stevenwu authored and bantic committed Aug 8, 2017
1 parent 2cb7abd commit a31f0ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/components/mobiledoc-link-prompt/template.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form {{action attrs.on-submit href on="submit"}}>
<form>
{{input value=href}}
<button type="submit">Link</button>
<button {{action attrs.on-submit href}} type="submit">Link</button>
<button {{action attrs.on-cancel}}>Cancel</button>
</form>

0 comments on commit a31f0ef

Please sign in to comment.