Remove another extra function wrapper
This commit is contained in:
parent
1e47d12436
commit
8bed3d44ed
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue