Skip to content

Commit

Permalink
#133 Fix a typo in the URL for groups in Group Library/Wishlist Checker
Browse files Browse the repository at this point in the history
Close #133
  • Loading branch information
Rafael committed Nov 4, 2017
1 parent 4d09bc0 commit 0775ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension/esgst.js
Original file line number Diff line number Diff line change
Expand Up @@ -25185,7 +25185,7 @@ function loadGlwc() {
} else if (esgst.blacklistPath) {
parameters = `?url=account/manage/blacklist`;
} else {
parameters = `?url=${location.pathname.match(/(\/group\/(.+?)\/(.+?))(\/.*)?$/)[1]}/users&id=${document.querySelector(`[href*="/gid/"]`).getAttribute(`href`).match(/\d+/)[0]}`;
parameters = `?url=${location.pathname.match(/\/(group\/(.+?)\/(.+?))(\/.*)?$/)[1]}/users&id=${document.querySelector(`[href*="/gid/"]`).getAttribute(`href`).match(/\d+/)[0]}`;
}
insertHtml(esgst.hideButtons && esgst.hideButtons_glwc ? esgst.leftButtons : esgst.mainPageHeading, `afterBegin`, `
<div class="esgst-heading-button" title="Check libraries/wishlists">
Expand Down

0 comments on commit 0775ed6

Please sign in to comment.