mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
It's helpful to return Deferred objects you create.
Fixes making hoisted logins from the front page.
This commit is contained in:
@@ -90,6 +90,8 @@ r.login.hoist = {
|
||||
deferred.resolve(data)
|
||||
}
|
||||
}, 100)
|
||||
|
||||
return deferred
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user