Moved controlling CSS into post list so it always shows up

Этот коммит содержится в:
nickago
2015-08-14 13:36:10 -07:00
родитель 996f0d79a7
Коммит 602bcc4f38
2 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@@ -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();