Make label for the PDF button in the page-actions menu appear on desktop size

Bug: T226562
Change-Id: I60b0f2030b2519a36a2c5bbdc256885980de6420
This commit is contained in:
Jan Drewniak 2019-11-05 19:52:01 +01:00
parent c8df4cad7b
commit 96ced4d6e3

View file

@ -126,7 +126,7 @@
*/
function downloadPageAction( page, supportedNamespaces, windowObj, hasText ) {
var
modifier = hasText ? 'toggle-list-item__anchor toggle-list-item__label' : 'mw-ui-icon-element',
modifier = hasText ? 'toggle-list-item__anchor toggle-list-item__label' : 'mw-ui-icon-element mw-ui-icon-with-label-desktop',
icon,
spinner = icons.spinner( {
hasText: hasText,