Skip to content

Commit

Permalink
fix: button not showing because of URL not updating
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
giacomoferretti committed Aug 20, 2022
1 parent 106d8db commit c3b6b9b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Get the extension on the [Firefox Browser Add-ons](https://addons.mozilla.org/en

#### Google Chrome

1. Download the repo by using `git clone https://github.com/giacomoferretti/forks-diff-chrome`
1. Download the repo by using `git clone https://github.com/giacomoferretti/forks-diff`
2. Visit `chrome://extensions/` in Google Chrome
3. Enable "Developer mode"
4. Click on "Load unpacked"
Expand Down
4 changes: 1 addition & 3 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ const forksDiff = (function () {
};

const replaceStateListener = () => {
if (githubUrlRegex.test(location.href)) {
addButton();
}
addButton();
};

return {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "__MSG_appName__",
"version": "1.2.0",
"version": "1.2.1",
"description": "__MSG_appDescription__",
"default_locale": "en",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion pack.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

VERSION="1.2.0-chrome"
VERSION="1.2.1-chrome"
ICONS_SIZES="16 32 48 64 128"
OUTPUT_FOLDER=".build"

Expand Down

0 comments on commit c3b6b9b

Please sign in to comment.