Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(popup): removed '#' character from hash fragment in redirect URL …
Browse files Browse the repository at this point in the history
…from popup. (Issue #223).
  • Loading branch information
photomoose committed Aug 3, 2016
1 parent 07f872d commit baf9148
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ const buildPopupWindowOptions = options => {
return parts.join(',');
};

const parseUrl = url => {
return extend(true, {}, parseQueryString(url.search), parseQueryString(url.hash));
const parseUrl = url => {
let hash = (url.hash.charAt(0) === '#') ? url.hash.substr(1) : url.hash;

return extend(true, {}, parseQueryString(url.search), parseQueryString(hash));
};

0 comments on commit baf9148

Please sign in to comment.