Revert "moving minfile and custom scripts to the footer, nodebb/nodebb#5733"

This reverts commit 788399c86d.
main
Julian Lam 7 years ago
parent 0f6c768280
commit 5eb60bd110

@ -1,6 +1,10 @@
</div><!-- END container -->
</main>
<div class="hide">
<!-- IMPORT 500-embed.tpl -->
</div>
<div class="topic-search hidden">
<div class="btn-group">
<button type="button" class="btn btn-default count"></button>
@ -16,20 +20,8 @@
</div>
</div>
<script async src="{relative_path}/assets/nodebb.min.js?{config.cache-buster}"></script>
<!-- BEGIN scripts -->
<script async defer type="text/javascript" src="{scripts.src}"></script>
<!-- END scripts -->
<script>
window.addEventListener('load', function () {
require(['forum/footer']);
});
require(['forum/footer']);
</script>
<div class="hide">
<!-- IMPORT 500-embed.tpl -->
</div>
</body>
</html>

@ -16,6 +16,12 @@
};
</script>
<script src="{relative_path}/assets/nodebb.min.js?{config.cache-buster}"></script>
<!-- BEGIN scripts -->
<script type="text/javascript" src="{scripts.src}"></script>
<!-- END scripts -->
<!-- IF useCustomJS -->
{{customJS}}
<!-- ENDIF useCustomJS -->

Loading…
Cancel
Save