diff options
author | 135e2 <[email protected]> | 2022-10-13 00:55:39 +0800 |
---|---|---|
committer | 135e2 <[email protected]> | 2022-10-13 00:55:39 +0800 |
commit | 1fa0c6cd4c93d37cb1aca86318476fa3b21c2b77 (patch) | |
tree | 77962780f2172336fd886688b6105f4884378c85 /layout/_partial | |
parent | ad6ce523b72c36fe41cfcacb50cad95071ae57c6 (diff) | |
download | chromate-1fa0c6cd4c93d37cb1aca86318476fa3b21c2b77.tar.gz chromate-1fa0c6cd4c93d37cb1aca86318476fa3b21c2b77.tar.bz2 chromate-1fa0c6cd4c93d37cb1aca86318476fa3b21c2b77.zip |
fix: check Chapter type
... to avoid the following error (while we don't have chapters):
Uncaught ReferenceError: Chapter is not defined
Diffstat (limited to 'layout/_partial')
-rw-r--r-- | layout/_partial/scripts.ejs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs index 5eeac9e..61aece8 100644 --- a/layout/_partial/scripts.ejs +++ b/layout/_partial/scripts.ejs @@ -46,7 +46,7 @@ <script defer src="/js/shikwasa.chapter.min.js"></script> <link media="none" onload="media='all'" rel="stylesheet" href="/css/shikwasa.chapter.min.css"> - <% } %> + <% } %> <% } %> <!-- Font Awesome delay loading --> |