Skip to content

Commit

Permalink
Cope with URLs that need decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
addshore committed Jan 31, 2019
1 parent 2d2acf3 commit d56127b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts.babel/contentscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ xmlHttp.onreadystatechange = function () {
var downloadMap = [];
for (var i in releases) {
for (var j in releases[i].assets) {
downloadMap[releases[i].assets[j].browser_download_url] = releases[i].assets[j].download_count;
downloadMap[decodeURI(releases[i].assets[j].browser_download_url)] = releases[i].assets[j].download_count;
}
}
var els = document.getElementsByTagName('a');
Expand Down

0 comments on commit d56127b

Please sign in to comment.