Made sendmessage url relative.

This commit is contained in:
FrozenCow 2011-02-19 21:08:14 +01:00
parent 22cc46f4b8
commit d5bd6ff038

View File

@ -8,7 +8,7 @@ function sendChat(message) {
var data = '{"name":"'+getip.ip+'","message":"'+message+'"}'; var data = '{"name":"'+getip.ip+'","message":"'+message+'"}';
$.ajax({ $.ajax({
type: 'POST', type: 'POST',
url: '/up/sendmessage', url: 'up/sendmessage',
data: data, data: data,
dataType: 'json', dataType: 'json',
success: function(response) { success: function(response) {