Fix regression by #141: cannot send message if you press enter key in input box.
Fix regression by #141: cannot send message if you press enter key in input box.

jQuery input history plugin supresses 'keydown' events by default.
This behavior don't cause 'submit' event.

Why did the previous jquery code worked?
jQuery input history plugin call jQuery.submit().
This method dispatches 'submit' jQuery DOM event,
but its event don't propagate to plain DOM event system :(

Thus I rollback this code to the previous one to handle jQuery 'submit'
DOM event. However, absolutely, I'll remove this plugin absolutely, absolutely, absolutely.

karen-irc/karen,karen-irc/karen