use class="hidden" instead of creating new classes

Use class "hidden" instead of styled classes to ensure that input elments stay
hidden when the Content-Security-Policy header has "style-src 'self';"
This commit is contained in:
Paul Twohey
2019-08-31 18:38:16 -07:00
committed by Alex Shpak
parent 438f011ff5
commit 964968be39
6 changed files with 4 additions and 17 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<span>{{ default "Expand" (.Get 0) }}</span>
<span>{{ default "↕" (.Get 1) }}</span>
</div>
<input type="checkbox" class="book-expand-expander" />
<input type="checkbox" class="hidden" />
<div class="book-expand-content markdown-inner">
{{ .Inner | markdownify }}
</div>