chg: [js] Include dark mode variable

pull/37/head
mokaddem 2021-01-18 09:47:15 +01:00
parent c70ce5170f
commit 35c5c7d2d3
1 changed files with 3 additions and 0 deletions

View File

@ -69,4 +69,7 @@ $cakeDescription = 'Cerebrate';
<div id="mainToastContainer" style="position: absolute; top: 15px; right: 15px; z-index: 1080"></div>
<div id="mainModalContainer"></div>
</body>
<script>
const darkMode = (<?= empty($darkMode) ? 'false' : 'true' ?>)
</script>
</html>