mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
fixed user/logout component + vanilla 3.1.2
This commit is contained in:
@@ -553,7 +553,9 @@ app.cacheBuster = null;
|
||||
|
||||
handleNewTopic();
|
||||
|
||||
components.get('user/logout').on('click', app.logout);
|
||||
require(['components'], function(components) {
|
||||
components.get('user/logout').on('click', app.logout);
|
||||
});
|
||||
|
||||
Visibility.change(function(e, state){
|
||||
if (state === 'visible') {
|
||||
|
||||
Reference in New Issue
Block a user