diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-07-17 23:10:10 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-07-17 23:10:10 +0500 |
commit | 764bd97bc72ac335ce42b5c4e19931b6a72b803b (patch) | |
tree | e46f9b89549d5f3f44633aa48efb372199255e34 /web/react | |
parent | 665dff3f6d96b5f9736fbae0e87fbb66dc6acb32 (diff) | |
download | chat-764bd97bc72ac335ce42b5c4e19931b6a72b803b.tar.gz chat-764bd97bc72ac335ce42b5c4e19931b6a72b803b.tar.bz2 chat-764bd97bc72ac335ce42b5c4e19931b6a72b803b.zip |
Improving modal UI
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/post.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/post.jsx b/web/react/components/post.jsx index afe978495..09437f8dc 100644 --- a/web/react/components/post.jsx +++ b/web/react/components/post.jsx @@ -10,9 +10,9 @@ var ActionTypes = Constants.ActionTypes; module.exports = React.createClass({ componentDidMount: function() { - $('.edit-modal').on('show.bs.modal', function () { - $('.edit-modal .edit-modal-body').css('overflow-y', 'auto'); - $('.edit-modal .edit-modal-body').css('max-height', $(window).height() * 0.7); + $('.modal').on('show.bs.modal', function () { + $('.modal-body').css('overflow-y', 'auto'); + $('.modal-body').css('max-height', $(window).height() * 0.7); }); }, handleCommentClick: function(e) { |