]> source.dussan.org Git - jquery-ui.git/commit
Menu: Don't reset active element until after triggering `blur` event
authorScott González <scott.gonzalez@gmail.com>
Tue, 12 Apr 2016 19:10:22 +0000 (15:10 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 13 Apr 2016 15:08:21 +0000 (11:08 -0400)
commit57f801f1de95ce3731c443d35886fbcda989f3a0
tree9ccec9524e20900af723e36f0933b9b529a6bd24
parentc19fc10e8493007af4617597f0afea5f24860955
Menu: Don't reset active element until after triggering `blur` event

This ensures that `ui.item` actually exists in the `blur` event.

Fixes #14945
Closes gh-1696
tests/unit/menu/events.js
ui/widgets/menu.js