Skip to content

Commit

Permalink
jstreegrid: remove handling of IE < 8 using navigator interface
Browse files Browse the repository at this point in the history
Starting in Chrome 101, the amount of information available in the
User Agent string will be reduced.

This PR removes the specific handling of IE < 8, to avoid issues
in Chrome >= 101.

(cherry picked from commit 09f916c)
  • Loading branch information
fbergkemper committed Mar 28, 2022
1 parent acf1890 commit 4d96b16
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions webui/public/js/jstreegrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,6 @@
this.uniq = Math.ceil(Math.random()*1000);
this.rootid = container.attr("id");

var msie = /msie/.test(navigator.userAgent.toLowerCase());
if (msie) {
var version = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (version < 8) {
gs.defaultConf.display = "inline";
gs.defaultConf.zoom = "1";
}
}

// set up the classes we need
if (!styled) {
styled = true;
Expand Down

0 comments on commit 4d96b16

Please sign in to comment.