mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Working on images in Edge
This commit is contained in:
parent
945f00dce1
commit
2899125f61
@ -2,8 +2,7 @@
|
|||||||
var isOpera = !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
|
var isOpera = !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
|
||||||
var isFirefox = typeof InstallTrigger !== 'undefined'; // Firefox 1.0+
|
var isFirefox = typeof InstallTrigger !== 'undefined'; // Firefox 1.0+
|
||||||
var isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0;
|
var isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0;
|
||||||
//var isEdge = navigator.userAgent.indexOf('Edge/') >= 0;
|
var isEdge = navigator.userAgent.indexOf('Edge/') >= 0;
|
||||||
var isEdge = false;
|
|
||||||
var isChrome = !!window.chrome && !isOpera && !isEdge; // Chrome 1+
|
var isChrome = !!window.chrome && !isOpera && !isEdge; // Chrome 1+
|
||||||
var isChromium = isChrome && navigator.userAgent.indexOf('Chromium') >= 0;
|
var isChromium = isChrome && navigator.userAgent.indexOf('Chromium') >= 0;
|
||||||
// https://code.google.com/p/chromium/issues/detail?id=574648
|
// https://code.google.com/p/chromium/issues/detail?id=574648
|
||||||
|
Loading…
Reference in New Issue
Block a user