mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-06 19:31:41 +00:00
Fix localStorage number of args in oauth
This commit is contained in:
@@ -13,8 +13,8 @@ iD.OAuth = function(context) {
|
||||
}
|
||||
|
||||
// token getter/setter, namespaced to the current `apibase` value.
|
||||
function token(k, x) {
|
||||
return context.storage(keyclean(baseurl) + k, x);
|
||||
function token() {
|
||||
return context.storage.apply(context, arguments);
|
||||
}
|
||||
|
||||
if (token('oauth_token')) {
|
||||
|
||||
Reference in New Issue
Block a user