Skip to content

Node.js based forum software built for the modern web

removed jQuery from iife, the $ is global

akhoury04ea573caa18
diff --git a/public/src/forum/footer.js b/public/src/forum/footer.js
index a16006f319..d37c8cd604 100644
--- a/public/src/forum/footer.js
+++ b/public/src/forum/footer.js
@@ -1,4 +1,4 @@
-(function($) {
+(function() {
socket.emit('api:updateHeader', {
fields: ['username', 'picture', 'userslug']
@@ -270,4 +270,4 @@
require(['mobileMenu'], function(mobileMenu) {
mobileMenu.init();
});
-}(jQuery));
+}());