Fixing mentions scroll again due to merge conflict

Этот коммит содержится в:
Asaad Mahmood
2015-08-05 15:56:08 +05:00
родитель 022317823e
Коммит d151d43017

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

@@ -20,6 +20,13 @@ module.exports = React.createClass({
PostStore.addMentionDataChangeListener(this.onListenerChange);
var self = this;
$('.post-right__scroll').scroll(function(){
console.log('sad');
if($('.mentions--top').length){
$('#reply_mention_tab .mentions--top').css({ bottom: $(window).height() - $('.post-right__scroll #reply_textbox').offset().top });
}
});
$('body').on('keydown.mentionlist', '#' + this.props.id,
function(e) {
if (!self.isEmpty() && self.state.mentionText !== '-1' && (e.which === 13 || e.which === 9)) {