aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/editable-label.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-25 07:50:25 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-25 07:50:25 +0800
commit7c2001102311d8e35f01d39ede9d5ac00e635006 (patch)
tree7ac6ad5567cb9731e8d19159ba339e4e5d73cb44 /ui/app/components/editable-label.js
parentac3072e037ee97e87ff405d4562ce7e7c00dcd8a (diff)
parentae56b865e8a4d3a6a82a97efeca34b8a592c985b (diff)
downloadtangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar
tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.gz
tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.bz2
tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.lz
tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.xz
tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.zst
tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.zip
Merge branch 'master' into NewUI-flat
Diffstat (limited to 'ui/app/components/editable-label.js')
-rw-r--r--ui/app/components/editable-label.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/components/editable-label.js b/ui/app/components/editable-label.js
index 167be7eaf..8a5c8954f 100644
--- a/ui/app/components/editable-label.js
+++ b/ui/app/components/editable-label.js
@@ -48,6 +48,7 @@ EditableLabel.prototype.saveIfEnter = function (event) {
}
EditableLabel.prototype.saveText = function () {
+ // eslint-disable-next-line react/no-find-dom-node
var container = findDOMNode(this)
var text = container.querySelector('.editable-label input').value
var truncatedText = text.substring(0, 20)