Fix moz- detection typo. See #1503.

This commit is contained in:
FelisCatus 2018-06-12 21:33:55 -07:00
parent f185b10b2e
commit eb65855a40
2 changed files with 2 additions and 2 deletions

View File

@ -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": {

View File

@ -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'