mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Extract Scroll Storage controller
This commit is contained in:
parent
019d252446
commit
d515e11fe4
4 changed files with 22 additions and 50 deletions
|
@ -262,7 +262,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="article" class="article">
|
||||
<div id="article" class="article" data-controller="scroll-storage" data-scroll-storage-entry-id-value="{{ entry.id }}" data-action="scroll@window->scroll-storage#saveScroll">
|
||||
<header class="mbm">
|
||||
<h1>
|
||||
<span{% if entry.language is defined and entry.language is not null %} lang="{{ entry.getHTMLLanguage() }}"{% endif %}>{{ entry.title|striptags|default('entry.default_title'|trans)|raw }}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue