mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-15 03:35:58 +00:00
089b73aa5d
* Moved test resource to the modules folder and registered it * Fixed tests file to use $ not $j * Cleaned up syntax in module definitions
9 lines
186 B
JavaScript
9 lines
186 B
JavaScript
/*
|
|
* JavaScript for WikiEditor Preview Dialog
|
|
*/
|
|
|
|
$( document ).ready( function() {
|
|
// Add preview module
|
|
$( 'textarea#wpTextbox1' ).wikiEditor( 'addModule', 'previewDialog' );
|
|
} );
|