mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Move study guide reader flag into content
This commit is contained in:
@@ -36,10 +36,6 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
<script>
|
||||
document.body.dataset.resourceReader = 'true';
|
||||
</script>
|
||||
|
||||
{% block head %}
|
||||
<style>
|
||||
|
||||
@@ -179,6 +175,10 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
<h1>{{ guide.title }}</h1>
|
||||
<p class="subtitle">{{ guide.description }}</p>
|
||||
|
||||
<script>
|
||||
document.body.dataset.resourceReader = 'true';
|
||||
</script>
|
||||
|
||||
{% if pdf_available and pdf_url %}
|
||||
<div class="guide-actions">
|
||||
<a href="{{ pdf_url }}" class="guide-download-btn">
|
||||
|
||||
Reference in New Issue
Block a user