fix declaring global variables on the setup page, closes #1071

This commit is contained in:
zadam 2020-07-11 23:19:24 +02:00
parent 3219441fdf
commit f54f6d09b0

View file

@ -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 -->