You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Match code-style better
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -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() {
|
||||||
|
Reference in New Issue
Block a user