improve upon @lemonyandrew pull request

This commit is contained in:
Quincy Larson
2015-06-19 17:26:04 -07:00
parent 6078b54393
commit ccc29b7fcb
3 changed files with 25 additions and 5 deletions

View File

@@ -331,6 +331,8 @@ $(document).ready(function() {
$('#story-submit').on('click', storySubmitButtonHandler);
$('#reset-button').on('click', resetEditor);
var commentSubmitButtonHandler = function commentSubmitButtonHandler() {
$('#comment-button').unbind('click');
var data = $('#comment-box').val();