Ensure Chrome iOS still works
This commit is contained in:
+1
-1
@@ -140,7 +140,7 @@ var saveAs = _global.saveAs || (
|
||||
var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari
|
||||
var isChromeIOS = /CriOS\/[\d]+/.test(navigator.userAgent)
|
||||
|
||||
if (((isChromeIOS || (force && isSafari)) && typeof FileReader === 'object') || isWebKit && typeof FileReader === 'function') {
|
||||
if ((isChromeIOS || isWebKit || (force && isSafari)) && typeof FileReader !== 'undefined') {
|
||||
// Safari doesn't allow downloading of blob URLs
|
||||
var reader = new FileReader()
|
||||
reader.onloadend = function () {
|
||||
|
||||
Reference in New Issue
Block a user