Open ghost opened 4 years ago
The author (or anyone using this library) has to fix the code. The AnnoButton is defined as a <button class='anno-btn'>
, but it should be <button class='anno-btn' type='button'>
, or else it acts like a submit button
jlecordier is correct. I made the change to the JS source code myself and it fixed the issue.
When the NextButton is clicked on the annotation, it submits the form if the target's parent is a form. How do I stop this?