diff --git a/WikiEditor.hooks.php b/WikiEditor.hooks.php index b5fcaab5..c1dc961e 100644 --- a/WikiEditor.hooks.php +++ b/WikiEditor.hooks.php @@ -79,7 +79,11 @@ class WikiEditorHooks { 'scripts' => 'extensions/WikiEditor/modules/jquery.wikiEditor.toc.js', 'styles' => 'extensions/WikiEditor/modules/jquery.wikiEditor.toc.css', 'dependencies' => array( - 'jquery.wikiEditor', 'jquery.ui.draggable', 'jquery.ui.resizable' + 'jquery.wikiEditor', + 'jquery.ui.draggable', + 'jquery.ui.resizable', + 'jquery.autoEllipsis', + 'jquery.color', ), ), 'jquery.wikiEditor.toolbar' => array( @@ -548,11 +552,6 @@ class WikiEditorHooks { 'modules' => array( 'wikiEditor.toc', ), - 'configurations' => array( - // These are probably only for testing purposes? - 'wgNavigableTOCCollapseEnable', - 'wgNavigableTOCResizable' - ), ), ); diff --git a/modules/jquery.wikiEditor.toc.js b/modules/jquery.wikiEditor.toc.js index deaeeec2..c6d26e25 100644 --- a/modules/jquery.wikiEditor.toc.js +++ b/modules/jquery.wikiEditor.toc.js @@ -446,7 +446,7 @@ fn: { */ function buildList( structure ) { var list = $( '