Skip to content

Commit 3d73f59

Browse files
committed
Fix checking if the script is allowed to be executed
1 parent d075456 commit 3d73f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/extension/options/syncOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const getOptionsFromBg = callback => {
4747
};
4848

4949
export const isAllowed = (localOptions = options) => (
50-
!localOptions || !localOptions.inject && location.href.match(localOptions.urls.split('\n').join('|'))
50+
!localOptions || localOptions.inject || location.href.match(localOptions.urls.split('\n').join('|'))
5151
);
5252

5353
export default {

0 commit comments

Comments
 (0)