diff --git a/browserid/static/dialog/resources/channel.js b/browserid/static/dialog/resources/channel.js index 88d019c83a962bfe2c5b7bfac063fc528f1dfb4b..0d52976bb22f8dd74c7599d74dff39609716189f 100644 --- a/browserid/static/dialog/resources/channel.js +++ b/browserid/static/dialog/resources/channel.js @@ -118,7 +118,7 @@ // navigation, which would cause us to not find our parent window. // issue #295 var relay = getRPRelay(); - + function onsuccess(rv) { // Get the relay here so that we ensure that the calling window is still // open and we aren't causing a problem. @@ -137,6 +137,8 @@ registerWithRelayFrame(function(origin) { controller.getVerifiedEmail(origin, onsuccess, onerror); }); + + window.location.hash = ''; }; }());