diff options
Manually linted
Diffstat (limited to 'app/scripts/chromereload.js')
-rw-r--r-- | app/scripts/chromereload.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/chromereload.js b/app/scripts/chromereload.js index 0dd6bd5aa..283a131f1 100644 --- a/app/scripts/chromereload.js +++ b/app/scripts/chromereload.js @@ -603,10 +603,10 @@ window.LiveReloadOptions = { host: 'localhost' }; } else if (__indexOf.call(message.protocols, PROTOCOL_7) >= 0) { this.protocol = 7 } else if (__indexOf.call(message.protocols, PROTOCOL_6) >= 0) { - this.protocol = 6 - } else { - throw new ProtocolError('no supported protocols found') - } + this.protocol = 6 + } else { + throw new ProtocolError('no supported protocols found') + } } return this.handlers.connected(this.protocol) } else if (this.protocol === 6) { |