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