Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit d91b56a

Browse files
committed
Update angularOauth.js
1 parent 9ffdcfe commit d91b56a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/js/angularOauth.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ angular.module('angularOauth', []).
214214
angular.forEach((keyValue || "").split('&'), function(keyValue){
215215
if (keyValue) {
216216
pos = keyValue.indexOf("=");
217-
key = decodeURIComponent(keyValue.substr(0, pos));
218-
key_value = keyValue.substr(pos + 1);
219-
obj[key] = key_value ? decodeURIComponent(key_value) : true;
217+
key = decodeURIComponent(keyValue.substr(0, pos));
218+
key_value = keyValue.substr(pos + 1);
219+
obj[key] = key_value ? decodeURIComponent(key_value) : true;
220220
}
221221
});
222222
return obj;

0 commit comments

Comments
 (0)