mirror of
https://github.com/zadam/trilium.git
synced 2025-01-10 09:09:30 +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>
|
||||
|
||||
<script type="text/javascript">
|
||||
const glob = {
|
||||
window.glob = {
|
||||
sourceId: ''
|
||||
};
|
||||
const syncInProgress = <%= syncInProgress ? 'true' : 'false' %>;
|
||||
|
||||
window.syncInProgress = <%= syncInProgress ? 'true' : 'false' %>;
|
||||
</script>
|
||||
|
||||
<!-- Required for correct loading of scripts in Electron -->
|
||||
|
|
Loading…
Reference in a new issue