mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 09:25:45 +01:00
removed jQuery from iife, the $ is global
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
(function($) {
|
(function() {
|
||||||
|
|
||||||
socket.emit('api:updateHeader', {
|
socket.emit('api:updateHeader', {
|
||||||
fields: ['username', 'picture', 'userslug']
|
fields: ['username', 'picture', 'userslug']
|
||||||
@@ -270,4 +270,4 @@
|
|||||||
require(['mobileMenu'], function(mobileMenu) {
|
require(['mobileMenu'], function(mobileMenu) {
|
||||||
mobileMenu.init();
|
mobileMenu.init();
|
||||||
});
|
});
|
||||||
}(jQuery));
|
}());
|
||||||
|
|||||||
Reference in New Issue
Block a user