mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
Prevent form submit
Required for theme change
This commit is contained in:
@@ -89,7 +89,8 @@ app.cacheBuster = null;
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
app.logout = function () {
|
app.logout = function (e) {
|
||||||
|
e.preventDefault();
|
||||||
$(window).trigger('action:app.logout');
|
$(window).trigger('action:app.logout');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user