This commit is contained in:
@ -280,9 +280,9 @@ const app = new Vue({
|
||||
e.flight = undefined;
|
||||
e.step_title = e.step_title || [];
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
this.debounceSave = _.debounce(this.save_data, 500)
|
||||
this.debounceSearch = {"hotel":_.debounce((q)=>{this.querying.hotel=true;this.search_nominatim(q,(r)=>(r.type=="hotel" || r.type=="hostel")).then((r)=>{this.querying.hotel=false});}, 500),
|
||||
"restaurants":_.debounce((q)=>{this.querying.food=true;this.search_nominatim(q,(r)=>(is_restauration_type(r))).then((r)=>{this.querying.food=false});}, 500),
|
||||
|
Reference in New Issue
Block a user