From b65712946094e0380cadb9092e0a09bd9f8cc0a4 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Thu, 4 Sep 2014 19:02:40 +0200 Subject: [PATCH] Fixed top navigation state preservation --- public_html/js/Presenters/TopNavigationPresenter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/Presenters/TopNavigationPresenter.js b/public_html/js/Presenters/TopNavigationPresenter.js index d154907d..20eca17e 100644 --- a/public_html/js/Presenters/TopNavigationPresenter.js +++ b/public_html/js/Presenters/TopNavigationPresenter.js @@ -41,4 +41,4 @@ App.Presenters.TopNavigationPresenter = function(util, jQuery, appState, promise }; -App.DI.register('topNavigationPresenter', App.Presenters.TopNavigationPresenter); +App.DI.registerSingleton('topNavigationPresenter', App.Presenters.TopNavigationPresenter);