mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added page title management (closed #33)
This commit is contained in:
@ -13,6 +13,7 @@ App.Presenters.LogoutPresenter = function(
|
||||
|
||||
function init() {
|
||||
topNavigationPresenter.select('logout');
|
||||
topNavigationPresenter.changeTitle('Logout');
|
||||
promise.wait(auth.logout()).then(function() {
|
||||
$messages.empty();
|
||||
var $messageDiv = messagePresenter.showInfo($messages, 'Logged out. <a href="">Back to main page</a>');
|
||||
|
Reference in New Issue
Block a user