From bb3e84f911a11573d5d4a0f1df8a96d410357f04 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 14 Jul 2014 21:47:32 -0400 Subject: [PATCH] minor edit --- js/traffic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/traffic.js b/js/traffic.js index 6fb784cf4..1d4ba3e68 100644 --- a/js/traffic.js +++ b/js/traffic.js @@ -101,7 +101,7 @@ var onBeforeSendHeaders = function(details) { // Special handling for root document. var requestType = details.type; - if ( requestType === 'main_frame' && details.parentFrameId < 0 ) { + if ( requestType === 'main_frame' && details.parentFrameId === -1 ) { return onBeforeRootDocument(tabId, details); }