MediaWiki:MoveEdittools.js: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
**/ | **/ | ||
mw.hook( 'wikipage.content' ).add( ( $content ) => { | mw.hook( 'wikipage.content' ).add( ( $content ) => { | ||
const $editForm = $content.find( ' | const $editForm = $content.find( '#editform' ); | ||
if ( $editForm.length ) { | if ( $editForm.length ) { | ||
console.log("loading"); | console.log("loading"); |