mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-12 13:34:47 +01:00
Merge branch 'master' of https://github.com/flames/dynmap
This commit is contained in:
commit
77539522f0
@ -5,7 +5,7 @@ function sendChat(message) {
|
||||
url: "http://jsonip.appspot.com/?callback=?",
|
||||
dataType: "jsonp",
|
||||
success: function(getip) {
|
||||
var data = { name: getip.ip, message: message };
|
||||
var data = '{"name":"'+getip.ip+'","message":"'+message+'"}';
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '/up/sendmessage',
|
||||
|
@ -210,7 +210,7 @@ DynMap.prototype = {
|
||||
.attr({
|
||||
id: 'chatinput',
|
||||
type: 'text',
|
||||
value: 'not working yet'
|
||||
value: ''
|
||||
})
|
||||
.keydown(function(event) {
|
||||
if (event.keyCode == '13') {
|
||||
|
Loading…
Reference in New Issue
Block a user