don't check in Standalone, which has Zotero.isFx set to true

This commit is contained in:
Simon Kornblith 2011-01-11 04:56:13 +00:00
parent 291c87737c
commit 18aa61918d

View File

@ -971,7 +971,7 @@ Zotero.Translate.Web.prototype.complete = function(returnValue, error) {
// Report translaton failure if we failed
if(oldState == "translate" && errorString && this.translator[0].inRepository && Zotero.Prefs.get("reportTranslationFailure")) {
// Don't report failure if in private browsing mode
if(Zotero.isFx) {
if(Zotero.isFx && !Zotero.isStandalone) {
var pbs = Components.classes["@mozilla.org/privatebrowsing;1"]
.getService(Components.interfaces.nsIPrivateBrowsingService);
if (pbs.privateBrowsingEnabled) {