- 
                Notifications
    You must be signed in to change notification settings 
- Fork 38
Closed
Labels
Description
The goto page input, isn't in a form and only has a click handler:
https://github.com/DDMAL/diva.js/blob/master/js/diva.js#L885
Aside from being invalid html, it'd be a better idea to make a form, not a div, put the input inside it - and attach a submit handler to the form. This would remove the mouse dependency on the goto page input.
To reproduce:
- open http://ddmal.music.mcgill.ca/diva/demo/
- click in the goto-page input
- type a number
- hit enter
Expected result - goto entered page
Actual result - sweet diddly