From 5e29c029ca9eb5b82643dd630753c76cadf37a57 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Wed, 3 Jul 2019 20:05:11 +0200 Subject: [PATCH] Fixed username status bug - fixed a bug where the status on submitting a username is always error --- CHANGELOG.md | 1 + views/bingo/bingo-create.pug | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 457bb69..4553cd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - error message when loading `bingo-create` - chat doesn't scroll down when an image is send *(r/mildlyinfuriating)* - some style issues +- status on username submit is always error ## [0.1.1] - 2019-05-21 diff --git a/views/bingo/bingo-create.pug b/views/bingo/bingo-create.pug index 0da1566..f1ca055 100644 --- a/views/bingo/bingo-create.pug +++ b/views/bingo/bingo-create.pug @@ -9,7 +9,7 @@ block content placeholder='Enter your name' value=username maxlength=30 - onkeydown='submitOnEnter(event, () => indicateStatus(submitUsername, "#username-status"))') + onkeydown='submitOnEnter(event, () => statusWrap(submitUsername))') if primaryJoin button( id='submit-username'