fixed user/logout component + vanilla 3.1.2

This commit is contained in:
psychobunny
2015-08-27 12:24:58 -04:00
parent b19120f822
commit 54d996ca6a
2 changed files with 4 additions and 2 deletions

View File

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