Index: devtools-panel.js |
=================================================================== |
--- a/devtools-panel.js |
+++ b/devtools-panel.js |
@@ -83,8 +83,6 @@ |
{ |
let row = document.importNode(template, true); |
row.dataset.type = request.type; |
- |
- row.querySelector(".domain").textContent = request.docDomain; |
row.querySelector(".type").textContent = request.type; |
let urlElement = row.querySelector(".resource-link"); |
@@ -109,6 +107,9 @@ |
} |
} |
+ if (request.docDomain) |
+ row.querySelector(".domain").textContent = request.docDomain; |
+ |
if (filter) |
{ |
let filterElement = row.querySelector(".filter"); |