Browse Source

Fixed safari detect

master
Igor Zhukov 10 years ago
parent
commit
586eee541b
  1. 2
      app/js/lib/ng_utils.js

2
app/js/lib/ng_utils.js

@ -50,7 +50,7 @@ angular.module('izhukov.utils', []) @@ -50,7 +50,7 @@ angular.module('izhukov.utils', [])
$window.URL = $window.URL || $window.webkitURL;
$window.BlobBuilder = $window.BlobBuilder || $window.WebKitBlobBuilder || $window.MozBlobBuilder;
var buggyUnknownBlob = navigator.userAgent.indexOf('Safari') != -1 &&
!navigator.userAgent.indexOf('Chrome') == -1;
navigator.userAgent.indexOf('Chrome') == -1;
var blobSupported = true;

Loading…
Cancel
Save