MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
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
});
});

Navigation menu