Permalink
Browse files

default to read access token from the window rather than document (to…

… improve support for widgets within iframes)
  • Loading branch information...
1 parent 80d0b7b commit b97b466aa4fa597d41ea1fe182c0d42b6636ecff @ryanj ryanj committed Dec 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Eventbrite.jquery.js
@@ -221,7 +221,7 @@ Eventbrite.prototype = {
Eventbrite.prototype.data.saveAccessToken( access_token );
}
options['access_token'] = access_token;
- document.location.hash = '#';
+ window.location.hash = '#';
}
}

0 comments on commit b97b466

Please sign in to comment.