move shelve button tour id to prevent duplicates

This commit is contained in:
Hugh Rundle 2022-07-09 10:32:04 +10:00
parent 389da79af4
commit 4d843b583d
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@
{% include 'snippets/rate_action.html' with user=request.user book=book %}
<div class="mb-3">
<div class="mb-3" id="tour-shelve-button">
{% include 'snippets/shelve_button/shelve_button.html' %}
</div>

View file

@ -7,7 +7,7 @@
{% active_shelf book as active_shelf %}
{% latest_read_through book request.user as readthrough %}
{% with active_shelf_book=active_shelf.book %}
<div class="field has-addons mb-0 has-text-weight-normal" data-shelve-button-book="{{ book.id }}" id="tour-shelve-button">
<div class="field has-addons mb-0 has-text-weight-normal" data-shelve-button-book="{{ book.id }}">
{% if switch_mode and active_shelf_book != book %}
<div class="control">
{% include 'snippets/switch_edition_button.html' with edition=book size='is-small' %}