Skip to content

Commit 2f27253

Browse files
committed
Fix preload
1 parent cc0ca10 commit 2f27253

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "interslavic",
3-
"version": "1.25.6",
3+
"version": "1.25.7",
44
"description": "Interslavic Dictionary",
55
"license": "MIT",
66
"author": {

src/index.html.ejs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!doctype html>
22
<html lang="en" style="height: 100%">
33
<head>
4-
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?compat=recaptcha" async defer></script>
5-
<script src="is_com.js"></script>
4+
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?compat=recaptcha" defer></script>
5+
<script src="is_com.js" defer></script>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<meta name="theme-color" content="#272727">
@@ -29,7 +29,7 @@
2929
content="It is a dictionary of the Interslavic language with translations into most of the Slavic languages, as well as into English, German and others. The project is being developed by a community of fans of this zonal constructed language.">
3030
</head>
3131
<body>
32-
<script>
32+
<script defer>
3333
window.INTERSLAVIC_PRELOAD = {}
3434
INTERSLAVIC_PRELOAD['data/basic.json'] = fetch('data/basic.json').then((res) => res.json())
3535
INTERSLAVIC_PRELOAD['data/translateStatistic.json'] = fetch('data/translateStatistic.json').then((res) => res.json())
@@ -64,7 +64,7 @@
6464
<a href="https://github.com/sonic16x/interslavic">https://github.com/sonic16x/interslavic</a>
6565
</noscript>
6666
<div id="app"></div>
67-
<script>
67+
<script defer>
6868
const theme = JSON.parse(localStorage.getItem('reduxState'))?.colorTheme
6969
7070
if (theme) {

0 commit comments

Comments
 (0)