Ghost/ghost/admin/lib
Ryan McCarvill 848eda5656 🐜 Card Menu Default State Enter Action (#600)
closes https://github.com/TryGhost/Ghost/issues/8196

The default state of both the '/' and '+' card menus is a selection of -1, this ensure that the active tool prompt isn't shown until the user presses an arrow key for keyboard selection. However -1 isn't a valid tool id so when pressing enter without selecting a tool the user will cause an error.

This update ensures that the selected tool is the first tool available even if the selection is in fact -1.
2017-03-21 14:05:49 +00:00
..
asset-delivery 🔥 Remove handlebars from serving admin (#593) 2017-03-20 12:01:06 +00:00
gh-koenig 🐜 Card Menu Default State Enter Action (#600) 2017-03-21 14:05:49 +00:00