summaryrefslogtreecommitdiff
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
parenta349dbd927a7f60b95b30d7c25382a52d332a052 (diff)
Moved status and clear it when done playing.
-rw-r--r--static/index.html3
-rw-r--r--static/sound.js1
2 files changed, 2 insertions, 2 deletions
diff --git a/static/index.html b/static/index.html
index 6b7b4dc..b320435 100644
--- a/static/index.html
+++ b/static/index.html
@@ -18,11 +18,10 @@
</head>
<body>
<div id="content">
- <span id="status">
- </span>
<div id="control">
<a href="javascript:play()"><img src="/static/icons/control_play_blue.png" alt="Play" /></a>
<a href="javascript:pause()"><img src="/static/icons/control_pause_blue.png" alt="Play" /></a>
+ <span id="status"></span>
<div id="progress"></div>
</div>
<div id="tabs">
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;