Viima / jquery-comments

The Javascript library of choice for implementing commenting in your web app
http://viima.github.io/jquery-comments/
MIT License
293 stars 118 forks source link

BUGFIX: Edit button must be of type button #142

Open lorenzulrich opened 6 years ago

lorenzulrich commented 6 years ago

If this plugin is placed inside a

HTML element, clicking the "edit" button triggers the form to be submitted because the default type for
qurben commented 5 years ago

Fixes #149

mikkelcp1 commented 3 years ago

Hmm. I just corrected the same issue. It sure would have been nice if this pull request was completed.

Note this issue may also be with the upvote.

  // Upvotes
  var upvoteEl = $('<button/>', {
                'type': 'button',