summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_list.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-08-07 14:24:09 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-08-12 12:29:57 -0700
commit1fa436b4f99d482bc2adb926b93d0c0b832d9288 (patch)
tree6082509377658a4395920300c73cc52c1994c3bc /web/react/components/post_list.jsx
parent9bbeef208fe9769618d2de3b69f0eb417eb007f8 (diff)
downloadchat-1fa436b4f99d482bc2adb926b93d0c0b832d9288.tar.gz
chat-1fa436b4f99d482bc2adb926b93d0c0b832d9288.tar.bz2
chat-1fa436b4f99d482bc2adb926b93d0c0b832d9288.zip
Users can now drop files into the center pane or the rhs respectively to upload images and other files
Diffstat (limited to 'web/react/components/post_list.jsx')
-rw-r--r--web/react/components/post_list.jsx7
1 files changed, 0 insertions, 7 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 5724dbd62..4df78817a 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -124,13 +124,6 @@ module.exports = React.createClass({
$(this).parent('div').next('.date-separator, .new-separator').removeClass('hovered--comment');
}
});
-
- //$('body').on('drop drag')
- /*window.document.addEventListener("drop", function(e) {
- e.preventDefault();
- var centerPostList = $(inputDiv.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode).find('.post-list')[0];
- console.log("HERE!: " + centerPostList);
- });*/
},
componentDidUpdate: function() {
this.resize();