Skip to content

Commit

Permalink
Merge pull request #1931 from REJack/toolbar-ie11-fix
Browse files Browse the repository at this point in the history
Toolbar IE11 fix
  • Loading branch information
lonnieezell authored Apr 11, 2019
2 parents d2f8c42 + feb4914 commit 81953eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion system/Debug/Toolbar/Views/toolbarloader.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ function loadDoc(time) {
}

// Track all AJAX requests
var oldXHR = window.XMLHttpRequest;
if (window.ActiveXObject) {
var oldXHR = new ActiveXObject('Microsoft.XMLHTTP');
} else {
var oldXHR = window.XMLHttpRequest;
}

function newXHR() {
var realXHR = new oldXHR();
Expand Down

0 comments on commit 81953eb

Please sign in to comment.