File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -580,7 +580,7 @@ class Autocomplete extends Framework7Class {
580
580
backdropEl : $el . find ( '.searchbar-backdrop' ) ,
581
581
customSearch : true ,
582
582
on : {
583
- searchbarSearch ( sb , query ) {
583
+ search ( sb , query ) {
584
584
if ( query . length === 0 && ac . searchbar . enabled ) {
585
585
ac . searchbar . backdropShow ( ) ;
586
586
} else {
Original file line number Diff line number Diff line change @@ -234,8 +234,8 @@ class Searchbar extends FrameworkClass {
234
234
sb . $backdropEl . off ( 'click' , disableOnClick ) ;
235
235
}
236
236
if ( sb . expandable && app . theme === 'ios' && sb . view && $navbarEl && sb . $pageEl ) {
237
- sb . $pageEl . on ( 'page:beforeout' , onPageBeforeOut ) ;
238
- sb . $pageEl . on ( 'page:beforein' , onPageBeforeIn ) ;
237
+ sb . $pageEl . off ( 'page:beforeout' , onPageBeforeOut ) ;
238
+ sb . $pageEl . off ( 'page:beforein' , onPageBeforeIn ) ;
239
239
}
240
240
sb . $inputEl . off ( 'focus' , onInputFocus ) ;
241
241
sb . $inputEl . off ( 'blur' , onInputBlur ) ;
You can’t perform that action at this time.
0 commit comments