]> source.dussan.org Git - jquery-ui.git/commit
Menu: Remove active class from top-level item when menu is blurred 1683/head
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 11 Mar 2016 16:35:25 +0000 (17:35 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 11 Mar 2016 17:27:58 +0000 (18:27 +0100)
commit4866e14922217560f551b86ce80952c3e0f649da
tree56ec31670d0ac6b9bd0ca7a7ce263eaa0d73db1a
parent54cd4510ef955a5f50a4fc5aa91ccb85217e6a04
Menu: Remove active class from top-level item when menu is blurred

This issue was introduced by 0bbd1569182bc03e8dc4f5f8aa203e8edbe15f99,
which reduced the use of ui-state-focus and ui-state-active to using
only ui-state-focus. This introduced the issue addressed here.

The fix is more of a workaround. With test test in place, we can
investigate a better solution in the future.

Fixes #14919
tests/unit/menu/core.js
ui/widgets/menu.js