themefoundation/mo-js — pull request #6 by stephenharris (2014-03-07 00:40:53+00:00)
Title: Improved keyboard support

As you mentioned in an e-mail, when focus goes from sub-menu to a non-menu link, there is nothing to remove the `openSubmenuClass` class. This patch fixes that by listening to both the `focus` and `blur` events.