From f18df7fcea6f1ced608b8ec43f5abcfa5c75e0ab Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 23 Jan 2020 23:34:38 -0500 Subject: [PATCH] offer a selection of possible reactions --- views/account.html | 12 ++++++++++++ web.go | 1 + 2 files changed, 13 insertions(+) diff --git a/views/account.html b/views/account.html index e7d7974..24b8f5f 100644 --- a/views/account.html +++ b/views/account.html @@ -14,9 +14,21 @@

+

+

+


diff --git a/web.go b/web.go index 18e9e48..6e7fdd5 100644 --- a/web.go +++ b/web.go @@ -1132,6 +1132,7 @@ func saveuser(w http.ResponseWriter, r *http.Request) { } else { options.MapLink = "" } + options.Reaction = r.FormValue("reaction") if ava := re_avatar.FindString(whatabout); ava != "" { whatabout = re_avatar.ReplaceAllString(whatabout, "") ava = ava[7:]