anno.js
anno.js copied to clipboard
Form submits on NextButton click
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?
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.