(e)
| 196 | } |
| 197 | |
| 198 | _onTouchEnd(e) { |
| 199 | if (Date.now() - this._touchStart < 500) { |
| 200 | clearTimeout(this._touchTimer); |
| 201 | } else { // this was a long tap |
| 202 | if (e) e.preventDefault(); |
| 203 | Events.fire('text-recipient', this._peer.id); |
| 204 | } |
| 205 | } |
| 206 | } |
| 207 | |
| 208 |
no test coverage detected