diff --git a/public/src/app.js b/public/src/app.js index 8ecc3659ae..6fe793ed15 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -553,7 +553,7 @@ app.cacheBuster = null; handleNewTopic(); - $('#logout-link').on('click', app.logout); + components.get('user/logout').on('click', app.logout); Visibility.change(function(e, state){ if (state === 'visible') {