MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 727: Line 727:
         });
         });


     // Add the button to the body content
     // Add the button to the content area
     $('#bodyContent').prepend(downloadButton); // You can use .append() if you want it at the end of the content
     $('#mw-content-text').prepend(downloadButton); // Use .append() if you want it at the bottom
});
});