diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-03-02 12:51:53 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-03-02 12:51:53 +0100 |
| commit | f556ff313190aece18bb2c0a6a09fb189cdc0cd9 (patch) | |
| tree | 261e6170a2fb402672a3ef25dcbccf31a359dbc2 /app | |
| parent | 57729ef5cb8fec383f371674f4bca2d1191518a5 (diff) | |
| parent | 58533f064b7be022c205ffcea6ce66f90e065036 (diff) | |
| download | mullvadvpn-f556ff313190aece18bb2c0a6a09fb189cdc0cd9.tar.xz mullvadvpn-f556ff313190aece18bb2c0a6a09fb189cdc0cd9.zip | |
Merge branch 'fix-dom-selection-in-account-input'
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/AccountInput.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/AccountInput.js b/app/components/AccountInput.js index 21967d856a..418cb3b77e 100644 --- a/app/components/AccountInput.js +++ b/app/components/AccountInput.js @@ -85,7 +85,7 @@ export default class AccountInput extends React.Component<AccountInputProps, Acc onKeyDown={ this.onKeyDown } onPaste={ this.onPaste } onCut={ this.onCut } - ref={ this.onRef } /> + ref={ (ref) => this.onRef(ref) } /> ); } @@ -295,7 +295,7 @@ export default class AccountInput extends React.Component<AccountInputProps, Acc } } - onRef = (ref: ?HTMLInputElement) => { + onRef(ref: ?HTMLInputElement) { this._ref = ref; if(!ref) { return; } |
