precup / turing-machine-sim

A design/testing tool for Turing machines
MIT License
3 stars 1 forks source link

allow user to hit enter in modals #135

Closed maxwang7 closed 9 years ago

precup commented 9 years ago

This already works for me, what browser is this not working in?

maxwang7 commented 9 years ago

Just did more testing. Both Safari and Chrome: it only works on the node and edge editing modals, not the save, load, or submit modals. Also, on the node and edge editing modals, I need to be focused on one of the input elements for hitting "enter" to work -- I think hitting enter in a modal, no matter what element is focused, should be counted as a "submit".