diff options
author | nickago <ngonella@calpoly.edu> | 2015-08-14 13:36:10 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-08-17 13:23:58 -0700 |
commit | 602bcc4f3881faefeca65c6b8f66db2cff64e152 (patch) | |
tree | 315dbc7fbbee77df88ad93ab32849438894bc058 /web/react/components/post.jsx | |
parent | 996f0d79a77744b701417e21881a2d09785d7494 (diff) | |
download | chat-602bcc4f3881faefeca65c6b8f66db2cff64e152.tar.gz chat-602bcc4f3881faefeca65c6b8f66db2cff64e152.tar.bz2 chat-602bcc4f3881faefeca65c6b8f66db2cff64e152.zip |
Moved controlling CSS into post list so it always shows up
Diffstat (limited to 'web/react/components/post.jsx')
-rw-r--r-- | web/react/components/post.jsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/web/react/components/post.jsx b/web/react/components/post.jsx index e72a2d001..f099c67ab 100644 --- a/web/react/components/post.jsx +++ b/web/react/components/post.jsx @@ -11,12 +11,6 @@ var ActionTypes = Constants.ActionTypes; module.exports = React.createClass({ displayName: "Post", - componentDidMount: function() { - $('.modal').on('show.bs.modal', function () { - $('.modal-body').css('overflow-y', 'auto'); - $('.modal-body').css('max-height', $(window).height() * 0.7); - }); - }, handleCommentClick: function(e) { e.preventDefault(); |