File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -607,7 +607,7 @@ var unbxdSearchInit = function(jQuery, Handlebars){
607
607
var changeSort = function ( e ) {
608
608
e . preventDefault ( ) ;
609
609
var $t = jQuery ( this ) ,
610
- $selected = ( e . type === 'select ' ) ? $t . find ( ':selected' ) :
610
+ $selected = ( e . type === 'change ' ) ? $t . find ( ':selected' ) :
611
611
( e . currentTarget === e . target ) ? $t : undefined ,
612
612
field = $selected && $selected . attr ( 'unbxdsortfield' ) ,
613
613
value = $selected && $selected . attr ( 'unbxdsortvalue' ) ;
@@ -627,7 +627,7 @@ var unbxdSearchInit = function(jQuery, Handlebars){
627
627
var changePageSize = function ( e ) {
628
628
e . preventDefault ( ) ;
629
629
var $t = jQuery ( this ) ,
630
- $selected = ( e . type === 'select ' ) ? $t . find ( ':selected' ) :
630
+ $selected = ( e . type === 'change ' ) ? $t . find ( ':selected' ) :
631
631
( e . currentTarget === e . target ) ? $t : undefined ,
632
632
pageSize = $selected && $selected . attr ( 'unbxdpagesize' ) ;
633
633
You can’t perform that action at this time.
0 commit comments