use class instead of id for spoilers tour

This commit is contained in:
Hugh Rundle 2022-07-10 13:16:28 +10:00
parent 126fd4e634
commit 6b1fcc3cbb
2 changed files with 2 additions and 2 deletions

View file

@ -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: [

View file

@ -1,5 +1,5 @@
{% load i18n %}
<div class="field is-relative" id="tour-spoiler-alert">
<div class="field is-relative tour-spoiler-alert">
<details
{% if reply_parent.content_warning or draft.content_warning %}open{% endif %}
>