fixed user/logout component + vanilla 3.1.2

v1.18.x
psychobunny 10 years ago
parent b19120f822
commit 54d996ca6a

@ -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') {

Loading…
Cancel
Save