diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-06-29 04:10:57 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-06-29 04:10:57 +0800 |
commit | 1cd17af2ad494e36ee37740648ccd8c47994ec82 (patch) | |
tree | da429905c46a7da23f22ba10d6fa386ffbd90336 /ui/app/components/editable-label.js | |
parent | 661d9bffb3ea91cc6d7bc855fd0ec587866f61bf (diff) | |
download | tangerine-wallet-browser-1cd17af2ad494e36ee37740648ccd8c47994ec82.tar tangerine-wallet-browser-1cd17af2ad494e36ee37740648ccd8c47994ec82.tar.gz tangerine-wallet-browser-1cd17af2ad494e36ee37740648ccd8c47994ec82.tar.bz2 tangerine-wallet-browser-1cd17af2ad494e36ee37740648ccd8c47994ec82.tar.lz tangerine-wallet-browser-1cd17af2ad494e36ee37740648ccd8c47994ec82.tar.xz tangerine-wallet-browser-1cd17af2ad494e36ee37740648ccd8c47994ec82.tar.zst tangerine-wallet-browser-1cd17af2ad494e36ee37740648ccd8c47994ec82.zip |
Second layer of 20 character check modified.
Diffstat (limited to 'ui/app/components/editable-label.js')
-rw-r--r-- | ui/app/components/editable-label.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/editable-label.js b/ui/app/components/editable-label.js index 4f690ebfe..41936f5e0 100644 --- a/ui/app/components/editable-label.js +++ b/ui/app/components/editable-label.js @@ -45,7 +45,7 @@ EditableLabel.prototype.saveIfEnter = function (event) { EditableLabel.prototype.saveText = function () { var container = findDOMNode(this) var text = container.querySelector('.editable-label input').value - var truncatedText = text.substring(0, 30) + var truncatedText = text.substring(0, 20) this.props.saveText(truncatedText) this.setState({ isEditingLabel: false, textLabel: truncatedText }) } |