Index: trunk/extensions/WikiEditor/modules/wikiEditor.toc.js |
— | — | @@ -4,8 +4,5 @@ |
5 | 5 | |
6 | 6 | $( document ).ready( function() { |
7 | 7 | // Add table of contents module |
8 | | - $( '#wpTextbox1' ) |
9 | | - .wikiEditor( 'addModule', 'toc' ); |
10 | | - // FIXME - should move the ready handler code to the create function so this isn't necissary |
11 | | - //.data( 'wikiEditor-context' ).fn.trigger( 'ready' ); |
| 8 | + $( '#wpTextbox1' ).wikiEditor( 'addModule', 'toc' ); |
12 | 9 | } ); |