mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 19:41:16 +01:00
* feat: #8734, jquery-ui, jquery-form, timeago get rid of forum/footer.js move that code to app.js & wait for app to load before calling ajaxify.end make sockets.js a requirejs module move jquery-ui to node_modules and load via requirejs move jquery-form to node_modules and load via requirejs move timeago to node_modules and load via requirejs only include the css for needed jquery-ui widgets * feat: keep socket/io global for backwards compat * refactor: move socket listener to chat
This commit is contained in:
committed by
GitHub
parent
666064bf46
commit
fda2aedfd8
@@ -11,7 +11,7 @@
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', function () {
|
||||
$(document).ready(function () {
|
||||
ajaxify.coldLoad();
|
||||
app.coldLoad();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -12,13 +12,12 @@
|
||||
}
|
||||
|
||||
function prepareFooter() {
|
||||
require(['forum/footer']);
|
||||
<!-- IF useCustomJS -->
|
||||
{{customJS}}
|
||||
<!-- ENDIF useCustomJS -->
|
||||
|
||||
$(document).ready(function () {
|
||||
ajaxify.coldLoad();
|
||||
app.coldLoad();
|
||||
});
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user