Skip to content

Node.js based forum software built for the modern web

fix: prevent logout form from submitting

Barış Soner Uşaklıd92032dad1bd
diff --git a/public/src/app.js b/public/src/app.js
index 67d92a7f84..a0c316f93b 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -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) {