Merge branch 'bug-39925' of github.com:MatmaRex/jquery.uls into MatmaRex-bug-39925

This commit is contained in:
Santhosh Thottingal
2013-10-11 20:45:36 +05:30

View File

@@ -149,9 +149,12 @@
return;
}
// Re-populate the list of languages
this.options.$target.empty();
this.show();
// Scroll to appropriate area
this.options.$target.$element
.find( '#' + this.regions[0] )
.get( 0 )
.scrollIntoView( true, { behavior: 'smooth' } );
// Make the selected region (and it only) active
$( '.regionselector' ).removeClass( 'active' );