Skip to content

Commit

Permalink
Fix moz- detection typo. See #1503.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisCatus committed Jun 13, 2018
1 parent f185b10 commit eb65855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion omega-target-chromium-extension/overlay/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "__MSG_manifest_app_name__",
"version": "2.5.13",
"version": "2.5.14",
"description": "__MSG_manifest_app_description__",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkhwZJT76btQ04EEMOFtZPLESD1TmSVjbLjs0OyesD9Ht8YllFPfJ3qmtbSQGVuvmxH1GK/jUO2QcEWb8bHuOjoRlq20fi5j5Aq90O8FKET+y5D8PxCyi3WmnquiEwaE5cNmaCsw/G2JlO+bZOtdQ/QKOvMxBAegABYimEGfSvCMVUEvpymys0gBhLoch72zPAiJUBkf0z8BtjYTueMRcRXkrSeRPLygUDQnZ1TkQWMYYBp/zqpD5ggxytAklEMQzR9Hn0lqu5s7iuUAgihbysPn/8Wh00Zj5FySpK//KcpG3JS7UWxC28oSt8z5ZR3YimnX+HX3P36V0mC1pgM4o7wIDAQAB",
"icons": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = class SwitchySharp
port: null

monitor: (action) ->
return if location.href.substr(4) == 'moz-'
return if location.href.substr(0, 4) == 'moz-'
if not port? and not @_monitorTimerId?
@_monitorTimerId = setInterval @_connect.bind(this), 5000
if action != 'reconnect'
Expand Down

0 comments on commit eb65855

Please sign in to comment.