diff --git a/modules/wikiEditor.toc.js b/modules/wikiEditor.toc.js index ba6a003b..264e9f86 100644 --- a/modules/wikiEditor.toc.js +++ b/modules/wikiEditor.toc.js @@ -4,8 +4,5 @@ $( document ).ready( function() { // Add table of contents module - $( '#wpTextbox1' ) - .wikiEditor( 'addModule', 'toc' ); - // FIXME - should move the ready handler code to the create function so this isn't necissary - //.data( 'wikiEditor-context' ).fn.trigger( 'ready' ); + $( '#wpTextbox1' ).wikiEditor( 'addModule', 'toc' ); } );