diff options
author | Liang Yi <[email protected]> | 2022-05-31 23:49:04 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2022-05-31 23:49:04 +0800 |
commit | 2cecb4c5b5bb38ceaf1f17e8d7d30142c3dbaea0 (patch) | |
tree | 09a83aca741c74d25e1a3671e37b9d1353ecd278 /frontend/index.html | |
parent | 6515c42f265c34086c5155505b03fc0576fce039 (diff) | |
download | bazarr-2cecb4c5b5bb38ceaf1f17e8d7d30142c3dbaea0.tar.gz bazarr-2cecb4c5b5bb38ceaf1f17e8d7d30142c3dbaea0.zip |
Replace Bootstrap with Mantine (#1795)
Diffstat (limited to 'frontend/index.html')
-rw-r--r-- | frontend/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/index.html b/frontend/index.html index 9bfe7e734..a416f01cd 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -18,7 +18,9 @@ <noscript>You need to enable JavaScript to run this app.</noscript> <div id="root"></div> <script> - window.Bazarr = {{BAZARR_SERVER_INJECT | tojson | safe}}; + try { + window.Bazarr = JSON.parse(`{{BAZARR_SERVER_INJECT | tojson | safe}}`); + } catch (error) {} </script> <script type="module" src="./src/dom.tsx"></script> </body> |