Match code-style better
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a97e2e6ef2
commit
31ab97772c
1 changed files with 4 additions and 2 deletions
|
@ -548,9 +548,11 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
_onPaste: function(e) {
|
_onPaste: function(e) {
|
||||||
const text = e.clipboardData.getData("text");
|
// Prevent the text being pasted into the textarea
|
||||||
this._addAddressesToList(text.split(/[\s,]+/));
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
const text = e.clipboardData.getData("text");
|
||||||
|
// Process it as a list of addresses to add instead
|
||||||
|
this._addAddressesToList(text.split(/[\s,]+/));
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
|
Loading…
Reference in a new issue