Skip to content

Commit

Permalink
somehow the header.name is lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
michi88 committed Jul 31, 2014
1 parent 1175ad7 commit 638a75b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function buildRequestEl(requestUrl, debugDataUrl) {

chrome.devtools.network.onRequestFinished.addListener(function(entry) {
$.each(entry.response.headers, function(i, header) {
if (header.name === 'X-debug-data-url') {
if (header.name === 'x-debug-data-url') {
$('#request-list').append(buildRequestEl(entry.request.url, header.value));
return false;
}
});
});
});

0 comments on commit 638a75b

Please sign in to comment.