Skip to content

Commit 3e87e04

Browse files
committed
Fix docs
1 parent d49c10b commit 3e87e04

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To work on the CSS and Javascript and have the bundle files update as you
2222
change the source files, you'll need to do two extra things:
2323

2424
1. Link the react sdk package into the example:
25-
`cd matrix-react-sdk/example; npm link ..`
25+
`cd matrix-react-sdk/examples/trivial; npm link ../../`
2626
2. Start a watcher for the CSS files:
2727
`cd matrix-react-sdk; npm run start:css`
2828

src/controllers/organisms/RoomView.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ module.exports = {
9898
componentDidMount: function() {
9999
if (this.refs.messageList) {
100100
var messageUl = this.refs.messageList.getDOMNode();
101+
102+
messageUl.addEventListener('drop', handleDrop);
103+
101104
messageUl.scrollTop = messageUl.scrollHeight;
102105

103106
this.fillSpace();

0 commit comments

Comments
 (0)