557
edits
No edit summary |
No edit summary |
||
| Line 698: | Line 698: | ||
}); | }); | ||
if (mw.user.isAnon | if (mw.user.isAnon) { // Check if the user is anonymous | ||
$(function () { | $(function () { | ||
$('.ext-wikisource-download-button').hide(); // Hide the button for anonymous users | $('.ext-wikisource-download-button').hide(); // Hide the button for anonymous users | ||