[common] Correct searchbar
This commit is contained in:
parent
7a4bd9484c
commit
d899bcabbf
|
@ -93,7 +93,6 @@ class SearchView extends Component {
|
||||||
const $$ = Dom7;
|
const $$ = Dom7;
|
||||||
|
|
||||||
$$(document).on('page:init', (e, page) => {
|
$$(document).on('page:init', (e, page) => {
|
||||||
if ( page.name == 'home' ) {
|
|
||||||
this.searchbar = f7.searchbar.create({
|
this.searchbar = f7.searchbar.create({
|
||||||
el: '.searchbar',
|
el: '.searchbar',
|
||||||
customSearch: true,
|
customSearch: true,
|
||||||
|
@ -127,7 +126,6 @@ class SearchView extends Component {
|
||||||
$editor.on('pointerdown', this.onEditorTouchStart.bind(this));
|
$editor.on('pointerdown', this.onEditorTouchStart.bind(this));
|
||||||
$editor.on('pointerup', this.onEditorTouchEnd.bind(this));
|
$editor.on('pointerup', this.onEditorTouchEnd.bind(this));
|
||||||
// $replaceLink.on('click', this.onReplaceHold.bind(this));
|
// $replaceLink.on('click', this.onReplaceHold.bind(this));
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this.onSettingsClick = this.onSettingsClick.bind(this);
|
this.onSettingsClick = this.onSettingsClick.bind(this);
|
||||||
|
|
Loading…
Reference in a new issue