summaryrefslogtreecommitdiffstats
path: root/theme/javascript/core/navigation.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-22 22:36:59 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-22 22:36:59 +0100
commit66841b1bb742498b6805b018cac74c4c94b98a72 (patch)
tree5bf6e3bc5c849520c0d5502c2a931cf1c7ae7df2 /theme/javascript/core/navigation.js
parent74ea419c530921374ffbe893f01b6a4695995349 (diff)
downloadgitbook-66841b1bb742498b6805b018cac74c4c94b98a72.zip
gitbook-66841b1bb742498b6805b018cac74c4c94b98a72.tar.gz
gitbook-66841b1bb742498b6805b018cac74c4c94b98a72.tar.bz2
Remove glossary from theme js
Diffstat (limited to 'theme/javascript/core/navigation.js')
-rwxr-xr-xtheme/javascript/core/navigation.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/theme/javascript/core/navigation.js b/theme/javascript/core/navigation.js
index f5d03df..947f4db 100755
--- a/theme/javascript/core/navigation.js
+++ b/theme/javascript/core/navigation.js
@@ -5,9 +5,8 @@ define([
"core/state",
"core/progress",
"core/loading",
- "core/search",
- "core/glossary"
-], function($, URL, events, state, progress, loading, search, glossary) {
+ "core/search"
+], function($, URL, events, state, progress, loading, search) {
var prev, next;
var usePushState = (typeof history.pushState !== "undefined");
@@ -81,9 +80,6 @@ define([
// Update navigation position
updateNavigationPosition();
- // Set glossary items
- glossary.prepare();
-
// Reset scroll
$pageWrapper.scrollTop(0);