Disable print button on iOS
As documented on the ticket, iOS does not provide PDF functionality via print. iOS 11 provides PDF generation but the resulting PDF is unreadable for our content and missing styles (see T177215#3700576) and we do not know of any way to invoke that just yet. Bug: T177215 Change-Id: I7e195ae067625c7865dccee31fa7a2c3c0ee57e5
This commit is contained in:
parent
45a1b3b423
commit
571895b754
@ -261,8 +261,13 @@
|
||||
initHistoryLink( $( '.last-modifier-tagline a' ) );
|
||||
M.on( 'resize', loadTabletModules );
|
||||
loadTabletModules();
|
||||
if ( config.get( 'wgMinervaDownloadIcon' ) && !page.isMainPage() ) {
|
||||
|
||||
if (
|
||||
config.get( 'wgMinervaDownloadIcon' ) &&
|
||||
!page.isMainPage() &&
|
||||
// The iOS print dialog does not provide pdf functionality (see T177215)
|
||||
!browser.isIos()
|
||||
) {
|
||||
// Because the page actions are floated to the right, their order in the
|
||||
// DOM is reversed in the display. The watchstar is last in the DOM and
|
||||
// left-most in the display. Since we want the download button to be to
|
||||
|
Loading…
Reference in New Issue
Block a user