Permalink
Browse files

fix(popup): removed '#' character from hash fragment in redirect URL …

…from popup. (Issue #223).
  • Loading branch information...
photomoose committed Aug 2, 2016
1 parent 07f872d commit baf91485a529d38297aec3ed8a2f3e0de687bf1a
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/popup.js
@@ -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.