From d681aef6497d46b82521ad76e6931fb98d9dadc3 Mon Sep 17 00:00:00 2001 From: popcorner <351633+popcorner@user.noreply.gitee.com> Date: Sun, 19 Apr 2020 01:42:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20IE9=E5=8F=8A=E4=BB=A5?= =?UTF-8?q?=E4=B8=8A=E5=9C=A8=E5=A4=9A=E5=A4=84=E5=87=BA=E7=8E=B0=E7=9A=84?= =?UTF-8?q?css=E9=94=99=E4=BD=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/static/js/common.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upload/static/js/common.js b/upload/static/js/common.js index 5c5764160..82143164f 100644 --- a/upload/static/js/common.js +++ b/upload/static/js/common.js @@ -2129,16 +2129,16 @@ function html5DPlayer(randomid, ext, src, width, height) { var BROWSER = {}; var USERAGENT = navigator.userAgent.toLowerCase(); -browserVersion({'ie':'msie','firefox':'','chrome':'','opera':'','safari':'','mozilla':'','webkit':'','maxthon':'','qq':'qqbrowser','rv':'rv'}); +browserVersion({'ie':'msie','trident':'','firefox':'','chrome':'','opera':'','safari':'','mozilla':'','webkit':'','maxthon':'','qq':'qqbrowser','rv':'rv'}); if(BROWSER.safari || BROWSER.rv) { BROWSER.firefox = true; } BROWSER.opera = BROWSER.opera ? opera.version() : 0; HTMLNODE = document.getElementsByTagName('head')[0].parentNode; -if(BROWSER.ie) { +if(BROWSER.ie || BROWSER.trident) { BROWSER.iemode = parseInt(typeof document.documentMode != 'undefined' ? document.documentMode : BROWSER.ie); - HTMLNODE.className = 'ie_all ie' + BROWSER.iemode; + HTMLNODE.className = (BROWSER.iemode<9?'ie_all ':'') +'ie' + BROWSER.iemode; } var CSSLOADED = []; -- Gitee