mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
fixed user/logout component + vanilla 3.1.2
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
"nodebb-rewards-essentials": "0.0.3",
|
"nodebb-rewards-essentials": "0.0.3",
|
||||||
"nodebb-theme-lavender": "1.0.52",
|
"nodebb-theme-lavender": "1.0.52",
|
||||||
"nodebb-theme-persona": "2.0.28",
|
"nodebb-theme-persona": "2.0.28",
|
||||||
"nodebb-theme-vanilla": "3.1.0",
|
"nodebb-theme-vanilla": "3.1.2",
|
||||||
"nodebb-widget-essentials": "1.0.5",
|
"nodebb-widget-essentials": "1.0.5",
|
||||||
"npm": "^2.1.4",
|
"npm": "^2.1.4",
|
||||||
"passport": "^0.3.0",
|
"passport": "^0.3.0",
|
||||||
|
|||||||
@@ -553,7 +553,9 @@ app.cacheBuster = null;
|
|||||||
|
|
||||||
handleNewTopic();
|
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){
|
Visibility.change(function(e, state){
|
||||||
if (state === 'visible') {
|
if (state === 'visible') {
|
||||||
|
|||||||
Reference in New Issue
Block a user