diff options
Diffstat (limited to 'theme/javascript/core/navigation.js')
-rwxr-xr-x | theme/javascript/core/navigation.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/theme/javascript/core/navigation.js b/theme/javascript/core/navigation.js index 3749419..f5d03df 100755 --- a/theme/javascript/core/navigation.js +++ b/theme/javascript/core/navigation.js @@ -5,8 +5,9 @@ define([ "core/state", "core/progress", "core/loading", - "core/search" -], function($, URL, events, state, progress, loading, search) { + "core/search", + "core/glossary" +], function($, URL, events, state, progress, loading, search, glossary) { var prev, next; var usePushState = (typeof history.pushState !== "undefined"); @@ -80,13 +81,16 @@ define([ // Update navigation position updateNavigationPosition(); + // Set glossary items + glossary.prepare(); + // Reset scroll $pageWrapper.scrollTop(0); // Focus on content $pageWrapper.focus(); - // Send to mixpanel + // Notify events.trigger("page.change"); }; |