mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-14 03:16:25 +00:00
19 lines
514 B
JavaScript
19 lines
514 B
JavaScript
function say() {
|
|
ajax.get("ajax.php?action=rippy", function(response) {
|
|
response = JSON.parse(response);
|
|
if (response['Message']) {
|
|
var say = response['Message'];
|
|
if(response['From']) {
|
|
say += "<br/><a href='user.php?action=rippy&to=" + response['From'] + "' class='brackets'>Ripback</a>";
|
|
}
|
|
$('#rippywrap').raw().style.display = "";
|
|
$('#rippy-says').raw().innerHTML = say;
|
|
$('#bubble').raw().style.display = "block";
|
|
}
|
|
});
|
|
}
|
|
|
|
function rippyclick() {
|
|
$('.rippywrap').remove();
|
|
}
|