mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: prevent logout form from submitting
This commit is contained in:
@@ -59,6 +59,7 @@ app.cacheBuster = null;
|
||||
|
||||
$('#header-menu .container').on('click', '[component="user/logout"]', function () {
|
||||
app.logout();
|
||||
return false;
|
||||
});
|
||||
|
||||
Visibility.change(function (event, state) {
|
||||
|
||||
Reference in New Issue
Block a user