There must be a cause somehow, but I just have no clue. Any ideas?
I believe since you are using a form element, the first button encountered is treated as a type=“submit” and by default the Enter buttons apparently triggers that button as if it were clicked. You can prevent that by adding type=“button” to the random article button, so it treats that button as just a plain button.
2 Likes
Right on the spot! Thank you again