mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
use class instead of id for spoilers tour
This commit is contained in:
parent
126fd4e634
commit
6b1fcc3cbb
2 changed files with 2 additions and 2 deletions
|
@ -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: [
|
||||
|
|
|
@ -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 %}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue