MediaWiki:Common.js: Difference between revisions

no edit summary
(Add)
No edit summary
Line 696: Line 696:
}
}
});
});
if (mw.user.isAnon() === false) { // Check if the user is not anonymous (logged in)
    $(function () {
        $('.ext-wikisource-download-button').show(); // Show the button
    });
}