fixed textarea symbols count bug
This commit is contained in:
Hedgehog 2014-03-20 16:05:04 +04:00
parent 75bbf81ebf
commit 39a316053b

View File

@ -408,7 +408,6 @@ function replyTextKeypress(e) {
} }
} }
} }
} }
} }
@ -473,7 +472,7 @@ function initInterfaceCommon() {
$( ".modal-propagate").click( retweetSubmit ); $( ".modal-propagate").click( retweetSubmit );
var $replyText = $( ".post-area-new textarea" ); var $replyText = $( ".post-area-new textarea" );
$replyText.on("keydown", replyTextKeypress ); $replyText.on("keyup", replyTextKeypress );
$( ".open-profile-modal").bind( "click", openProfileModal ); $( ".open-profile-modal").bind( "click", openProfileModal );
$( ".open-hashtag-modal").bind( "click", openHashtagModal ); $( ".open-hashtag-modal").bind( "click", openHashtagModal );