aboutsummaryrefslogtreecommitdiff
path: root/client.js
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2018-02-23 00:31:26 +0100
committerstonedDiscord <stoned@derpymail.org>2018-02-23 00:31:26 +0100
commitbf288e069477842b4f283f2eb7b9982cdacceca8 (patch)
treef504dbc8fc06f52386a8d79c26634e65b254918b /client.js
parent1b7dbf351dee87bc1184803a0c96c5eedecac89f (diff)
default to first emotion
Diffstat (limited to 'client.js')
-rw-r--r--client.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.js b/client.js
index 8de2046..a09caea 100644
--- a/client.js
+++ b/client.js
@@ -541,6 +541,7 @@ function onMessage(e) {
button_on: AO_HOST + 'characters/' + chars[me].name + '/emotions/button' + i + '_on.png'};
document.getElementById("client_emo").innerHTML += "<img src='" + emotes[i].button_off + "' id='emo_" + i + "' alt='"+emotes[i].desc+"' class='client_button' onclick='pickemotion(" + i + ")'>";
}
+ pickemotion(1);
}
};
xhr.send();