From 1c43d7d74ae51cf6f5d65d2a3d3ee8de409882fb Mon Sep 17 00:00:00 2001 From: Infocatcher Date: Mon, 13 Jan 2014 03:30:03 +0400 Subject: [PATCH] Fix typo in previous commit: correctly check for search.xml in stack (#129) --- bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.js b/bootstrap.js index 31745d2..d920dc2 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -3159,7 +3159,7 @@ var windowsObserver = { return { value: isPrivate }; } var stack = new Error().stack; - var fromSearchBar = stack.indexOf("@chrome://browser/content/search/search.xml:" != -1); + var fromSearchBar = stack.indexOf("@chrome://browser/content/search/search.xml:") != -1; var fromDownloads = !fromSearchBar && prefs.get("patchDownloads") && ( stack.indexOf("@chrome://browser/content/downloads/downloads.js:") != -1 || stack.indexOf("@resource://app/modules/DownloadsCommon.jsm:") != -1