Spice-King / foundry-swnr

Stars Without Number: Revised for Foundry VTT
GNU Affero General Public License v3.0
30 stars 43 forks source link

Fix enter opening Add Skills dialog #47

Closed DroneEnthusiast closed 3 years ago

DroneEnthusiast commented 3 years ago

Without this, the browser treats the button as "submit" by default and activates it if is pressed when any input element is active. This happens even if the tab with the button isn't open.