1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 08:45:28 +03:00

CliAutocomplete set completion update

This commit is contained in:
Cleric-K 2019-05-08 10:52:12 +03:00
parent bf9c4fece7
commit 6226e9c295

View file

@ -304,10 +304,6 @@ CliAutoComplete._initTextcomplete = function() {
search: function(term, callback) {
sendOnEnter = false;
searcher(term, callback, cache.settings, 3);
},
replace: function (value) {
self.openLater();
return '$1' + value + ' = ';
}
}),
@ -338,7 +334,6 @@ CliAutoComplete._initTextcomplete = function() {
callback(arr);
},
template: highlighterAnywhere,
replace: function (value) {
if (this.isSettingValueArray) {
return basicReplacer(value);
@ -360,7 +355,6 @@ CliAutoComplete._initTextcomplete = function() {
}
searcher(term, callback, arr, 1);
},
template: highlighterAnywhere,
replace: function(value) {
if (value in cache.resourcesCount) {
self.openLater();