mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-26 08:51:32 +02:00
delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
0d0934add7
commit
8bcb987f50
@ -43,7 +43,7 @@ export default class CommandProvider extends AutocompleteProvider {
|
|||||||
|
|
||||||
let matches = [];
|
let matches = [];
|
||||||
// check if the full match differs from the first word (i.e. returns false if the command has args)
|
// check if the full match differs from the first word (i.e. returns false if the command has args)
|
||||||
if (command[0] !== command[1]) {
|
if (command[0] !== command[1]) {
|
||||||
// The input looks like a command with arguments, perform exact match
|
// The input looks like a command with arguments, perform exact match
|
||||||
const name = command[1].substr(1); // strip leading `/`
|
const name = command[1].substr(1); // strip leading `/`
|
||||||
if (CommandMap[name]) {
|
if (CommandMap[name]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user