Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
https://github.com/NanoAdblocker/NanoCore/issues/40
Browse files Browse the repository at this point in the history
  • Loading branch information
jspenguin2017 committed Jan 5, 2018
1 parent df477b1 commit a89fa1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platform/edge/vapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ self.chrome = browser;
if (args[0] === 'fullwide') {
args.shift();
}
return _toLocaleString.apply(this, args);
return _toLocaleString.apply(this, args).replace(/\u200E|\u200F/g, '');
};
})();

Expand Down
3 changes: 1 addition & 2 deletions scripts/build-edge.node.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
// TODO 2018-01-05: The size is wrong, but Edge does not seem to care
manifest["icons"]["16"] = manifest["icons"]["128"];
manifest["browser_action"]["default_icon"]["38"] = manifest["browser_action"]["default_icon"]["128"];
// Must set to undefined, otherwise delete will take ["38"] with it
// delete causes problems, must assign to undefined instead
manifest["browser_action"]["default_icon"]["128"] = undefined;
delete manifest["browser_action"]["default_icon"]["128"];

manifest["background"]["persistent"] = true;

Expand Down

0 comments on commit a89fa1b

Please sign in to comment.