diff options
author | n-peugnet <n.peugnet@free.fr> | 2019-11-15 15:59:55 +0100 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2019-11-15 15:59:55 +0100 |
commit | a49dca5b92c141cafd89a9908309036179973410 (patch) | |
tree | fb0f3535f05af1eaf37c2cf0ba1062e50760c8b3 /app/view | |
parent | c1843c0a2ef49de3d2030398f5c14549cc1791ab (diff) | |
download | wcms-a49dca5b92c141cafd89a9908309036179973410.tar.gz wcms-a49dca5b92c141cafd89a9908309036179973410.zip |
fix(home): Cannot set property 'innerHTML' of null
home.bundle.js was included even if the user was not connected
Diffstat (limited to 'app/view')
-rw-r--r-- | app/view/templates/home.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 9758c95..01bc0e4 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -173,10 +173,10 @@ <?php $this->insert('footer', ['footer' => $footer]) ?> - <?php } ?> + <script src="<?= Wcms\Model::jspath() ?>home.bundle.js"></script> + <?php } ?> - <script src="<?= Wcms\Model::jspath() ?>home.bundle.js"></script> </body> |