mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +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');
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user