mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +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 () {
|
$('#header-menu .container').on('click', '[component="user/logout"]', function () {
|
||||||
app.logout();
|
app.logout();
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
Visibility.change(function (event, state) {
|
Visibility.change(function (event, state) {
|
||||||
|
|||||||
Reference in New Issue
Block a user