add try catch
This commit is contained in:
@@ -35,7 +35,9 @@
|
||||
$("#send").click(function(){
|
||||
data = $("#ins").val();
|
||||
if(data != ""){
|
||||
umami.trackEvent('Admin send chat message', { type: 'chatadminmessage', code: kod});
|
||||
try{
|
||||
umami.trackEvent('Admin send chat message', { type: 'chatadminmessage', code: kod});
|
||||
} catch(e) {}
|
||||
$.post("index.php?chat=1&send=1",
|
||||
{
|
||||
text: data
|
||||
|
Reference in New Issue
Block a user