Skip to content

Commit

Permalink
fixing #8 webkit-only location usage
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Jan 15, 2013
1 parent 2a9a80a commit a6d1224
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/js/fragile.js
Expand Up @@ -197,8 +197,9 @@
$(".loggedin.trying").show();
$(".loggedin.nope").hide();
var gh_login = "https://github.com/login/oauth/authorize",
loc = window.location,
par = {
redirect_uri: window.location.origin + "/login",
redirect_uri: [loc.protocol, "", loc.host, "login"].join("/"),
client_id: fragile.GH.CLIENT_ID,
state: Math.random()
},
Expand Down

0 comments on commit a6d1224

Please sign in to comment.