make the "open dyslexic mode" use OpenDyslexic3

This commit is contained in:
ashley 2025-09-20 19:53:20 +02:00
parent bf4047f2bc
commit 08a2365a66

View File

@ -1583,9 +1583,16 @@ WIP! </a>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
<% if (dyx === "true") { %>
.descriptionHtml {
@ -1609,13 +1616,14 @@ WIP! </a>
<% if (String(VideoData.descriptionHtml) != "<p></p>") { %>
<div class="descriptionHtml" style="margin-top:1em;">
<% if (!dyx) { %>
<a href="/watch?v=<%=VideoData.videoId%>&dyx=true" style="font-family:OpenDyslexic3"> open dyslexic mode </a> <br> <br>
<% } %>
<% if (dyx) { %>
<a href="/watch?v=<%=VideoData.videoId%>"> close dyslexic mode </a> <br> <br>
<% } %>
<% if (!dyx) { %>
<a href="/watch?v=<%=VideoData.videoId%>&dyx=true"> open dyslexic mode </a> <br> <br>
<% } %>