From 6b1fcc3cbbd9dab38fc9c9db864b315e257420ab Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Sun, 10 Jul 2022 13:16:28 +1000 Subject: [PATCH] use class instead of id for spoilers tour --- bookwyrm/templates/guided_tour/direct_messages.html | 2 +- .../templates/snippets/create_status/content_warning_field.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/guided_tour/direct_messages.html b/bookwyrm/templates/guided_tour/direct_messages.html index f1656f3df..a4c83c842 100644 --- a/bookwyrm/templates/guided_tour/direct_messages.html +++ b/bookwyrm/templates/guided_tour/direct_messages.html @@ -36,7 +36,7 @@ text: "{% trans 'If your message is about a book you\'re reading, click here to put a spoiler alert on your message. This will hide your message behind the warning until the recipient wants to see it.' %}", title: "{% trans 'Spoilers' %}", attachTo: { - element: "#tour-spoiler-alert", + element: ".tour-spoiler-alert", on: "left" }, buttons: [ diff --git a/bookwyrm/templates/snippets/create_status/content_warning_field.html b/bookwyrm/templates/snippets/create_status/content_warning_field.html index 2c8ba6738..7ea2c0abe 100644 --- a/bookwyrm/templates/snippets/create_status/content_warning_field.html +++ b/bookwyrm/templates/snippets/create_status/content_warning_field.html @@ -1,5 +1,5 @@ {% load i18n %} -
+