Remove boolean returns
This commit is contained in:
parent
7e1b107f4c
commit
095f82feee
1 changed files with 3 additions and 4 deletions
|
@ -147,7 +147,7 @@ class TabComplete {
|
||||||
|
|
||||||
// fall through to auto-enter-tab-completing if set
|
// fall through to auto-enter-tab-completing if set
|
||||||
if (!this.opts.autoEnterTabComplete) {
|
if (!this.opts.autoEnterTabComplete) {
|
||||||
return true;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,12 +167,12 @@ class TabComplete {
|
||||||
}, DELAY_TIME_MS);
|
}, DELAY_TIME_MS);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.textArea) {
|
if (!this.textArea) {
|
||||||
console.error("onKeyDown called before a <textarea> was set!");
|
console.error("onKeyDown called before a <textarea> was set!");
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// init struct if necessary
|
// init struct if necessary
|
||||||
|
@ -193,7 +193,6 @@ class TabComplete {
|
||||||
// prevent the default TAB operation (typically focus shifting)
|
// prevent the default TAB operation (typically focus shifting)
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
this._notifyStateChange();
|
this._notifyStateChange();
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue