From 4598a6a58c79d04ee9ea7117c610ed390876b4b5 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Fri, 3 Jul 2020 11:55:17 -0700 Subject: [PATCH] Wrap chat input in fake form to appease chrome's heuristics (#807) --- templates/channel.pug | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/channel.pug b/templates/channel.pug index 097177f7..e6e641d5 100644 --- a/templates/channel.pug +++ b/templates/channel.pug @@ -45,10 +45,11 @@ html(lang="en") span#modflair.label.label-default.pull-right.pointer Name Color #userlist #messagebuffer.linewrap - input#chatline.form-control(type="text", maxlength="320", style="display: none") - #guestlogin.input-group - span.input-group-addon Guest login - input#guestname.form-control(type="text", placeholder="Name") + form(action="javascript:void(0)") + input#chatline.form-control(type="text", maxlength="320", style="display: none") + #guestlogin.input-group + span.input-group-addon Guest login + input#guestname.form-control(type="text", placeholder="Name") #videowrap.col-lg-7.col-md-7 p#videowrap-header span#resize-video-smaller.glyphicon.glyphicon-minus.pointer(title="Make the video smaller")