Skip to content

Commit

Permalink
Fix None literals from breaking JS. #8
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyhippo committed Dec 21, 2021
1 parent e0498e3 commit 22ca8c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proxy/templates/reader/series.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{% endblock %}

{% block head %}
{{ chapter_list | json_script:"chapter_list" }}
<script defer>
var reading_button = null;
var reading_button2 = null;
Expand Down Expand Up @@ -225,7 +226,7 @@
}

function prettifyLastUpdatedTable() {
chapterList = {{ chapter_list | safe }};
chapterList = JSON.parse(document.getElementById("chapter_list").textContent);
let now = new Date();
let updaters = [
document.querySelectorAll(".detailed-chapter-upload-date"),
Expand Down

0 comments on commit 22ca8c9

Please sign in to comment.