summaryrefslogtreecommitdiff
path: root/static/sound.js
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2012-12-16 14:05:12 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2012-12-16 14:05:12 +0100
commit3b009ee01f6e5e6f98e2853d60ded24ea7f0adbe (patch)
tree5ffb6d6c22808c76e3a49a20171341b6455e2a45 /static/sound.js
parenta349dbd927a7f60b95b30d7c25382a52d332a052 (diff)
Moved status and clear it when done playing.
Diffstat (limited to 'static/sound.js')
-rw-r--r--static/sound.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/sound.js b/static/sound.js
index 85386ce..7dbb42a 100644
--- a/static/sound.js
+++ b/static/sound.js
@@ -47,6 +47,7 @@ function playsound(model) {
if(next) {
playsound(next, $('#cid-' + next.cid));
} else {
+ $('#status').text('');
sound.stop();
sound.destruct();
sound = null;