Skip to content

Commit 1ee89da

Browse files
committed
Fixed issue marcj#40; contributed by DeVore
1 parent 45bf78b commit 1ee89da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jquery.selectBox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if(jQuery) (function($) {
4747
.attr('tabindex', parseInt(select.attr('tabindex')))
4848
.css('display', 'inline-block')
4949
.bind('focus.selectBox', function() {
50-
if( this !== document.activeElement ) $(document.activeElement).blur();
50+
if( this !== document.activeElement && document.body !== document.activeElement ) $(document.activeElement).blur();
5151
if( control.hasClass('selectBox-active') ) return;
5252
control.addClass('selectBox-active');
5353
select.trigger('focus');

0 commit comments

Comments
 (0)