refractor code
This commit is contained in:
parent
e91d459aa4
commit
6f79007058
3 changed files with 5 additions and 6 deletions
|
@ -81,7 +81,7 @@
|
|||
}).then((html_string) => {
|
||||
const parser = new DOMParser();
|
||||
const next_page = parser.parseFromString(html_string, "text/html");
|
||||
{{ if .Site.Params.heti }}
|
||||
{{ if .Site.Params.features.heti }}
|
||||
const heti = new Heti(next_page);
|
||||
heti.autoSpacing();
|
||||
{{ end }}
|
||||
|
@ -103,7 +103,7 @@
|
|||
{{ end }}
|
||||
|
||||
|
||||
{{ if .Site.Params.heti }}
|
||||
{{ if .Site.Params.features.heti }}
|
||||
<script>
|
||||
const heti = new Heti(document);
|
||||
heti.autoSpacing();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue