Skip to content

Commit 4b2edd6

Browse files
committed
Revert some code after adding shadowRoot technique
1 parent d1c78c3 commit 4b2edd6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

webroot/js/inject-iframe.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,8 @@ if (elem) {
6565

6666
const logAjaxRequest = (original) => function ajaxRequest() {
6767
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
68-
const newId = this.getResponseHeader('X-DEBUGKIT-ID');
69-
70-
window.debugKitId = newId;
7168
const params = {
72-
requestId: newId,
69+
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
7370
status: this.status,
7471
date: new Date(),
7572
method: this._arguments && this._arguments[0],

0 commit comments

Comments
 (0)