remove lines

pull/225/head
Aevann 2024-03-07 20:03:15 +02:00
parent 5eb90d3466
commit 29ce7a03ea
3 changed files with 3 additions and 6 deletions

View File

@ -43,8 +43,7 @@ let emoji_index = 0;
function curr_word_is_emoji()
{
return current_word && current_word.charAt(0) == ":" &&
current_word.charAt(current_word.length-1) != ":";
return current_word && current_word.charAt(0) == ":" && current_word.charAt(current_word.length-1) != ":";
}
function close_inline_emoji_modal() {

View File

@ -62,8 +62,7 @@ function makeGroupsSearchDictionary() {
function curr_word_is_group()
{
return current_word && current_word.charAt(0) == "!" &&
current_word.charAt(current_word.length-1) != "!";
return current_word && current_word.charAt(0) == "!" && current_word.charAt(current_word.length-1) != "!";
}
function openGroupSpeedModal()

View File

@ -62,8 +62,7 @@ function makeUsersSearchDictionary() {
function curr_word_is_user()
{
return current_word && current_word.charAt(0) == "@" &&
current_word.charAt(current_word.length-1) != "@";
return current_word && current_word.charAt(0) == "@" && current_word.charAt(current_word.length-1) != "@";
}
function openUserSpeedModal()