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