aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-06-29 03:49:17 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-06-29 03:49:17 +0800
commitabcf7621847220f0709eb37cca0fd93cd0632bd5 (patch)
tree652fcf63acef675dc6a02faf709b72ee45e001fe
parent39a758d7c31fc75a31f5e233f5f6e793cba10c85 (diff)
downloadtangerine-wallet-browser-abcf7621847220f0709eb37cca0fd93cd0632bd5.tar
tangerine-wallet-browser-abcf7621847220f0709eb37cca0fd93cd0632bd5.tar.gz
tangerine-wallet-browser-abcf7621847220f0709eb37cca0fd93cd0632bd5.tar.bz2
tangerine-wallet-browser-abcf7621847220f0709eb37cca0fd93cd0632bd5.tar.lz
tangerine-wallet-browser-abcf7621847220f0709eb37cca0fd93cd0632bd5.tar.xz
tangerine-wallet-browser-abcf7621847220f0709eb37cca0fd93cd0632bd5.tar.zst
tangerine-wallet-browser-abcf7621847220f0709eb37cca0fd93cd0632bd5.zip
Code style fix.
-rw-r--r--ui/app/components/editable-label.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/editable-label.js b/ui/app/components/editable-label.js
index 34fd7e3e0..05ffd4c92 100644
--- a/ui/app/components/editable-label.js
+++ b/ui/app/components/editable-label.js
@@ -18,7 +18,7 @@ EditableLabel.prototype.render = function () {
return h('div.editable-label', [
h('input.sizing-input', {
defaultValue: props.textValue,
- maxLength: "30",
+ maxLength: '30',
onKeyPress: (event) => {
this.saveIfEnter(event)
},
@@ -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, 30)
this.props.saveText(truncatedText)
this.setState({ isEditingLabel: false, textLabel: truncatedText })
}