From f6b7ce73834ed42bd2604e3ad0ea7a57b0c433aa Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 23 Apr 2018 15:34:22 +0300 Subject: [PATCH] Fix your own nick in auto completion --- client/js/autocompletion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/autocompletion.js b/client/js/autocompletion.js index 8807f861..46474348 100644 --- a/client/js/autocompletion.js +++ b/client/js/autocompletion.js @@ -277,7 +277,7 @@ function rawNicks() { return users.data("nicks"); } - const me = $("#nick-value").text(); + const me = $("#nick").text(); const otherUser = chan.attr("aria-label"); // If this is a query, add their name to autocomplete