From 9b67d60197a448d09c074fd2bf16b1089b30adc8 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 4 May 2014 19:04:48 -0400 Subject: [PATCH] Use var in place of let This makes uglifyjs happier --- chrome/content/zotero/xpcom/zotero.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 650da8e53..e26e8d164 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -347,11 +347,11 @@ Components.utils.import("resource://gre/modules/Services.jsm"); // Revert to profile directory if (index == 1) { - Zotero.chooseZoteroDirectory(false, true); + Zotero.chooseZoteroDirectory(Zotero.isStandalone, true); } // Locate data directory else if (index == 2) { - Zotero.chooseZoteroDirectory(); + Zotero.chooseZoteroDirectory(Zotero.isStandalone); } } return;