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.
  • Loading branch information
fbergkemper committed Mar 25, 2022
1 parent 2647f86 commit 09f916c
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 @@ -235,15 +235,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 09f916c

Please sign in to comment.