|
@ -2027,7 +2027,7 @@ $.fn.dropdown = function(parameters) { |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
module.debug('Added tabindex to dropdown'); |
|
|
module.debug('Added tabindex to dropdown'); |
|
|
if(!$module.attr('tabindex') ) { |
|
|
|
|
|
|
|
|
if( $module.attr('tabindex') === undefined) { |
|
|
$module |
|
|
$module |
|
|
.attr('tabindex', 0) |
|
|
.attr('tabindex', 0) |
|
|
; |
|
|
; |
|
@ -2684,19 +2684,19 @@ $.fn.dropdown = function(parameters) { |
|
|
if( module.has.search() ) { |
|
|
if( module.has.search() ) { |
|
|
module.debug('Searchable dropdown initialized'); |
|
|
module.debug('Searchable dropdown initialized'); |
|
|
$search |
|
|
$search |
|
|
.attr('tabindex', '-1') |
|
|
|
|
|
|
|
|
.removeAttr('tabindex') |
|
|
; |
|
|
; |
|
|
$menu |
|
|
$menu |
|
|
.attr('tabindex', '-1') |
|
|
|
|
|
|
|
|
.removeAttr('tabindex') |
|
|
; |
|
|
; |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
module.debug('Simple selection dropdown initialized'); |
|
|
module.debug('Simple selection dropdown initialized'); |
|
|
$module |
|
|
$module |
|
|
.attr('tabindex', '-1') |
|
|
|
|
|
|
|
|
.removeAttr('tabindex') |
|
|
; |
|
|
; |
|
|
$menu |
|
|
$menu |
|
|
.attr('tabindex', '-1') |
|
|
|
|
|
|
|
|
.removeAttr('tabindex') |
|
|
; |
|
|
; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|