Skip to content

Commit

Permalink
feat: add comment on app.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
PoulainMaxime committed Dec 12, 2024
1 parent 554da4f commit ee8f53e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions views/templates/admin/app.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
</style>

<script>
// If we don't have the noboostrap class, add it to the content div
document.addEventListener('DOMContentLoaded', function () {
const hasNoBootstrapClass = document.querySelector('#content.nobootstrap');
if (hasNoBootstrapClass === null) {
Expand Down

0 comments on commit ee8f53e

Please sign in to comment.