www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a806f09023b56c05f8162f438b2d310974a67f74
parent 3f17420405449a711d19f4aad8932cc04ad4553d
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun,  9 Aug 2009 08:31:21 +0000

Don't count main browser in browser count debug output in createHiddenBrowser()


Diffstat:
Mchrome/content/zotero/xpcom/zotero.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js @@ -2361,7 +2361,7 @@ Zotero.Browser = new function() { hiddenBrowser.docShell.allowMetaRedirects = false; hiddenBrowser.docShell.allowPlugins = false; Zotero.debug("created hidden browser (" - + win.document.getElementsByTagName('browser').length + ")"); + + (win.document.getElementsByTagName('browser').length - 1) + ")"); return hiddenBrowser; }