diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-22 15:31:08 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-22 15:31:08 +0000 |
| commit | 8fb641ea167d1323838681ad7a03655d1cb511ad (patch) | |
| tree | 45d512a8b54cd7941a7ceab26e853fb57de12e1c /app/lib | |
| parent | b170456c8552089670924b01806e3cd74b519bd2 (diff) | |
| download | mullvadvpn-8fb641ea167d1323838681ad7a03655d1cb511ad.tar.xz mullvadvpn-8fb641ea167d1323838681ad7a03655d1cb511ad.zip | |
- Transition header when connecting
- Pass server to Backend.connect()
- Add missing connecting event
Diffstat (limited to 'app/lib')
| -rw-r--r-- | app/lib/backend.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js index 8e08ab237c..a97f19a6fb 100644 --- a/app/lib/backend.js +++ b/app/lib/backend.js @@ -55,6 +55,9 @@ export default class Backend extends EventEmitter { connect(addr) { this._serverAddress = addr; + + // emit: connecting + this.emit(EventType.connecting, addr); // @TODO: Add connect call setTimeout(() => { |
