summaryrefslogtreecommitdiff
path: root/extensions/WikiEditor/modules/ext.wikiEditor.toc.js
blob: 264e9f864bb35a75c8db0d6da9e3f9310fe7fe3b (plain)
1
2
3
4
5
6
7
8
/*
 * JavaScript for WikiEditor Table of Contents
 */

$( document ).ready( function() {
	// Add table of contents module
	$( '#wpTextbox1' ).wikiEditor( 'addModule', 'toc' );
} );