www

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

commit 8bed3d44ed3e1980153aa51944773fc191e99604
parent 1e47d12436641194a1c3b14508f1d64e18943b7a
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed,  1 May 2013 16:19:01 -0400

Remove another extra function wrapper

Diffstat:
Mchrome/content/zotero/preferences/preferences_sync.js | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/chrome/content/zotero/preferences/preferences_sync.js b/chrome/content/zotero/preferences/preferences_sync.js @@ -334,9 +334,7 @@ Zotero_Preferences.Sync = { // TODO: better way of checking for an active session? if (Zotero.Sync.Server.sessionIDComponent == 'sessionid=') { Zotero.Sync.Server.login() - .then(function () { - callback(); - }) + .then(callback) .done(); } else {