From 602bcc4f3881faefeca65c6b8f66db2cff64e152 Mon Sep 17 00:00:00 2001 From: nickago Date: Fri, 14 Aug 2015 13:36:10 -0700 Subject: Moved controlling CSS into post list so it always shows up --- web/react/components/post.jsx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'web/react/components/post.jsx') 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(); -- cgit v1.2.3-1-g7c22