mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Removed content emptying on navigation
It was really annoying!
This commit is contained in:
@ -13,6 +13,7 @@ App.Presenters.LogoutPresenter = function(
|
||||
function init() {
|
||||
topNavigationPresenter.select('logout');
|
||||
auth.logout().then(function() {
|
||||
$messages.empty();
|
||||
var $messageDiv = messagePresenter.showInfo($messages, 'Logged out. <a href="">Back to main page</a>');
|
||||
$messageDiv.find('a').click(mainPageLinkClicked);
|
||||
}).catch(function(response) {
|
||||
|
Reference in New Issue
Block a user