diff options
author | Alexander Tseung <alextsg@users.noreply.github.com> | 2017-10-14 04:23:10 +0800 |
---|---|---|
committer | Daniel Tsui <szehungdanieltsui@gmail.com> | 2017-10-14 04:23:10 +0800 |
commit | 222a203353dd977f497d44bf6581c16200b5de4f (patch) | |
tree | 6a9c394db6c4e2ac3283b3e712ae411575f776fd /ui/app/components/readonly-input.js | |
parent | 803eaaf968161f16aaf72d59b979dfbb7fb9b352 (diff) | |
download | tangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.tar tangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.tar.gz tangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.tar.bz2 tangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.tar.lz tangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.tar.xz tangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.tar.zst tangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.zip |
Fix click to copy for private key not working (#2360)
Diffstat (limited to 'ui/app/components/readonly-input.js')
-rw-r--r-- | ui/app/components/readonly-input.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/readonly-input.js b/ui/app/components/readonly-input.js index 33b93b5a0..fcf05fb9e 100644 --- a/ui/app/components/readonly-input.js +++ b/ui/app/components/readonly-input.js @@ -15,6 +15,7 @@ ReadOnlyInput.prototype.render = function () { inputClass = '', value, textarea, + onClick, } = this.props const inputType = textarea ? 'textarea' : 'input' @@ -25,6 +26,7 @@ ReadOnlyInput.prototype.render = function () { value, readOnly: true, onFocus: event => event.target.select(), + onClick, }), ]) } |