mirror of
https://github.com/zadam/trilium.git
synced 2025-01-10 17:19:37 +08:00
fix declaring global variables on the setup page, closes #1071
This commit is contained in:
parent
3219441fdf
commit
f54f6d09b0
1 changed files with 3 additions and 2 deletions
|
@ -193,10 +193,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
const glob = {
|
window.glob = {
|
||||||
sourceId: ''
|
sourceId: ''
|
||||||
};
|
};
|
||||||
const syncInProgress = <%= syncInProgress ? 'true' : 'false' %>;
|
|
||||||
|
window.syncInProgress = <%= syncInProgress ? 'true' : 'false' %>;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Required for correct loading of scripts in Electron -->
|
<!-- Required for correct loading of scripts in Electron -->
|
||||||
|
|
Loading…
Reference in a new issue