File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -580,7 +580,7 @@ class Autocomplete extends Framework7Class {
580580 backdropEl : $el . find ( '.searchbar-backdrop' ) ,
581581 customSearch : true ,
582582 on : {
583- searchbarSearch ( sb , query ) {
583+ search ( sb , query ) {
584584 if ( query . length === 0 && ac . searchbar . enabled ) {
585585 ac . searchbar . backdropShow ( ) ;
586586 } else {
Original file line number Diff line number Diff line change @@ -234,8 +234,8 @@ class Searchbar extends FrameworkClass {
234234 sb . $backdropEl . off ( 'click' , disableOnClick ) ;
235235 }
236236 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 ) ;
239239 }
240240 sb . $inputEl . off ( 'focus' , onInputFocus ) ;
241241 sb . $inputEl . off ( 'blur' , onInputBlur ) ;
You can’t perform that action at this time.
0 commit comments