diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-11 13:39:58 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-11 13:39:58 +0200 |
commit | 0352c2c71f32553612301f57741f249476234746 (patch) | |
tree | f8465bd5dadc7f9fe5cd5db9bce7b974142837cb /ui/jquery.ui.menu.js | |
parent | c17f245d9848ae865d400dabb02ea954aa8da645 (diff) | |
download | jquery-ui-0352c2c71f32553612301f57741f249476234746.tar.gz jquery-ui-0352c2c71f32553612301f57741f249476234746.zip |
Menu: Remove default preventDefault. Add more meaningful href's on menu
and menubar demos. Change doesn't seem to affect autocomplete as that
doesn't use href-attributes anyway.
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r-- | ui/jquery.ui.menu.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 0841018af..5fcb0ac90 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -45,8 +45,6 @@ $.widget("ui.menu", { if ( !item.length ) { return; } - // temporary - event.preventDefault(); // it's possible to click an item without hovering it (#7085) if ( !self.active || ( self.active[ 0 ] !== item[ 0 ] ) ) { self.focus( event, item ); |