summaryrefslogtreecommitdiff
path: root/slideshow.js
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow.js')
-rw-r--r--slideshow.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow.js b/slideshow.js
index 4ed2ef8..23d7c3e 100644
--- a/slideshow.js
+++ b/slideshow.js
@@ -52,7 +52,7 @@ function play() {
playing = 1
interval = setInterval(function () { next() }, 3000);
document.getElementById("play-indicator").title = "Pause slideshow"
- document.getElementById("play-indicator").innerText = "\u23F8"
+ document.getElementById("play-indicator").className = "fa fa-pause"
hide_controls()
}
@@ -60,7 +60,7 @@ function stop() {
playing = 0
clearInterval(interval)
document.getElementById("play-indicator").title = "Play slideshow"
- document.getElementById("play-indicator").innerText = "\u23F5"
+ document.getElementById("play-indicator").className = "fa fa-play"
show_controls()
}