mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Add action on glossary term in the page
This commit is contained in:
@@ -11,8 +11,9 @@ define([
|
||||
"core/navigation",
|
||||
"core/progress",
|
||||
"core/sidebar",
|
||||
"core/search"
|
||||
], function($, storage, sharing, dropdown, events, fontSettings, state, keyboard, navigation, progress, sidebar, search){
|
||||
"core/search",
|
||||
"core/glossary"
|
||||
], function($, storage, sharing, dropdown, events, fontSettings, state, keyboard, navigation, progress, sidebar, search, glossary){
|
||||
var start = function(config) {
|
||||
var $book;
|
||||
$book = state.$book;
|
||||
@@ -28,6 +29,9 @@ define([
|
||||
// Load search
|
||||
search.init();
|
||||
|
||||
// Load glossary
|
||||
glossary.init();
|
||||
|
||||
// Init keyboard
|
||||
keyboard.init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user