diff --git a/public_html/js/Presenters/LogoutPresenter.js b/public_html/js/Presenters/LogoutPresenter.js index a0eec48d..b3383d03 100644 --- a/public_html/js/Presenters/LogoutPresenter.js +++ b/public_html/js/Presenters/LogoutPresenter.js @@ -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. Back to main page'); $messageDiv.find('a').click(mainPageLinkClicked); }).catch(function(response) { diff --git a/public_html/js/Util.js b/public_html/js/Util.js index 707faa18..44e03e8a 100644 --- a/public_html/js/Util.js +++ b/public_html/js/Util.js @@ -34,7 +34,7 @@ App.Util = (function(jQuery) { } function initContentPresenter(presenterGetter, args) { - jQuery('#content').empty(); + //jQuery('#content').empty(); initPresenter(presenterGetter, args); };