Browse Source

Add ID to comments list for intercooler target

merge-requests/48/head
Deimos 6 years ago
parent
commit
cec2da9a92
  1. 4
      tildes/tildes/templates/topic.jinja2

4
tildes/tildes/templates/topic.jinja2

@ -210,7 +210,7 @@
</header> </header>
{% endif %} {% endif %}
<ol class="comment-tree">
<ol class="comment-tree" id="comments">
{{ render_comment_tree(comments, mark_newer_than=topic.last_visit_time) }} {{ render_comment_tree(comments, mark_newer_than=topic.last_visit_time) }}
</ol> </ol>
</section> </section>
@ -222,7 +222,7 @@
method="post" method="post"
data-ic-post-to="{{ request.route_url('ic_topic_comments', topic_id36=topic.topic_id36) }}" data-ic-post-to="{{ request.route_url('ic_topic_comments', topic_id36=topic.topic_id36) }}"
data-ic-swap-style="append" data-ic-swap-style="append"
data-ic-target=".comment-tree"
data-ic-target="#comments"
autocomplete="off" autocomplete="off"
data-js-prevent-double-submit data-js-prevent-double-submit
data-js-confirm-leave-page-unsaved data-js-confirm-leave-page-unsaved

Loading…
Cancel
Save