added oninput hook before form submit
This commit is contained in:
parent
2c6aab4e9f
commit
a469f58cd1
|
@ -417,6 +417,9 @@ $(function() {
|
|||
clear();
|
||||
return;
|
||||
}
|
||||
text = pluginHandle('oninput', text);
|
||||
if (!text) return;
|
||||
|
||||
socket.emit("input", {
|
||||
target: chat.data("id"),
|
||||
text: text
|
||||
|
|
Loading…
Reference in New Issue