fix acp logout

This commit is contained in:
barisusakli
2015-04-28 12:59:00 -04:00
parent a462b10f94
commit 163b70fba9
2 changed files with 3 additions and 5 deletions

View File

@@ -31,9 +31,7 @@ define('admin/general/dashboard', ['semver'], function(semver) {
usedTopicColors.length = 0;
});
$('#logout-link').on('click', function() {
app.logout();
});
$('[component="logout"]').on('click', app.logout);
$.get('https://api.github.com/repos/NodeBB/NodeBB/tags', function(releases) {
// Re-sort the releases, as they do not follow Semver (wrt pre-releases)