mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-10 15:38:19 -05:00
Put pre-Chromium Edge in the same category as IE (#3220)
* Put pre-Chromium Edge in the same category as IE, closes #3219 * code review
This commit is contained in:
@@ -378,11 +378,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
|
||||
if (/\bQt\/5/.test(window.navigator.userAgent) && /Linux/.test(window.navigator.userAgent)) {
|
||||
$(document.documentElement).addClass('qt5');
|
||||
} // Detect IE information
|
||||
} // Detect IE and older (pre-Chromium) Edge
|
||||
|
||||
|
||||
var ua = window.navigator.userAgent;
|
||||
var isIE = /MSIE|Trident/.test(ua);
|
||||
var isIE = /MSIE|Trident|Edge/.test(ua);
|
||||
|
||||
function getIEVersion() {
|
||||
var msie = ua.indexOf('MSIE ');
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
inst/www/shared/shiny.min.js
vendored
2
inst/www/shared/shiny.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -13,9 +13,9 @@ var browser = (function() {
|
||||
$(document.documentElement).addClass('qt5');
|
||||
}
|
||||
|
||||
// Detect IE information
|
||||
// Detect IE and older (pre-Chromium) Edge
|
||||
var ua = window.navigator.userAgent;
|
||||
var isIE = /MSIE|Trident/.test(ua);
|
||||
var isIE = /MSIE|Trident|Edge/.test(ua);
|
||||
|
||||
function getIEVersion() {
|
||||
var msie = ua.indexOf('MSIE ');
|
||||
|
||||
Reference in New Issue
Block a user