Limit download button to Google Chrome
As discussed on ticket the download button only appears to work on Google Chrome on mobile browsers. Bug: T179529 Bug: T179914 Change-Id: I8bbda8d5a8aa42dd23773fea424c1a70e31d6f85
This commit is contained in:
parent
9fa40f81d8
commit
7697c262db
|
@ -232,7 +232,10 @@
|
||||||
config.get( 'wgMinervaDownloadIcon' ) &&
|
config.get( 'wgMinervaDownloadIcon' ) &&
|
||||||
!page.isMainPage() &&
|
!page.isMainPage() &&
|
||||||
// The iOS print dialog does not provide pdf functionality (see T177215)
|
// The iOS print dialog does not provide pdf functionality (see T177215)
|
||||||
!browser.isIos()
|
!browser.isIos() &&
|
||||||
|
// Currently restricted to Chrome (T179529) until we have good fallbacks for browsers
|
||||||
|
// which do not provide print functionality
|
||||||
|
window.chrome !== undefined
|
||||||
) {
|
) {
|
||||||
// Because the page actions are floated to the right, their order in the
|
// 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
|
// DOM is reversed in the display. The watchstar is last in the DOM and
|
||||||
|
|
Loading…
Reference in New Issue