@ -585,8 +585,8 @@ $.fn.dropdown = function(parameters) {
. closest ( selector . item )
. closest ( selector . item )
. addClass ( className . selected )
. addClass ( className . selected )
;
;
event . preventDefault ( ) ;
}
}
event . preventDefault ( ) ;
}
}
// right arrow (show sub-menu)
// right arrow (show sub-menu)
if ( pressedKey == keys . rightArrow ) {
if ( pressedKey == keys . rightArrow ) {
@ -600,8 +600,8 @@ $.fn.dropdown = function(parameters) {
. find ( selector . item ) . eq ( 0 )
. find ( selector . item ) . eq ( 0 )
. addClass ( className . selected )
. addClass ( className . selected )
;
;
event . preventDefault ( ) ;
}
}
event . preventDefault ( ) ;
}
}
// up arrow (traverse menu up)
// up arrow (traverse menu up)
if ( pressedKey == keys . upArrow ) {
if ( pressedKey == keys . upArrow ) {