mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
fix acp logout
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user