10000
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.
1 parent 5eb25e1 commit 0158599Copy full SHA for 0158599
src/js/angularOauth.js
@@ -168,6 +168,8 @@ angular.module('angularOauth', []).
168
// TODO: binding occurs for each reauthentication, leading to leaks for long-running apps.
169
170
angular.element($window).bind('message', function(event) {
171
+ // Use JQuery originalEvent if present
172
+ event = event.originalEvent || event;
173
if (event.source == popup && event.origin == window.location.origin) {
174
$rootScope.$apply(function() {
175
if (event.data.access_token) {
0 commit comments