Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6873570 + 0158599 commit 09bf497Copy full SHA for 09bf497
src/js/angularOauth.js
@@ -175,6 +175,8 @@ angular.module('angularOauth', []).
175
// TODO: binding occurs for each reauthentication, leading to leaks for long-running apps.
176
177
angular.element($window).bind('message', function(event) {
178
+ // Use JQuery originalEvent if present
179
+ event = event.originalEvent || event;
180
if (event.source == popup && event.origin == window.location.origin) {
181
$rootScope.$apply(function() {
182
if (event.data.access_token) {
0 commit comments