summaryrefslogtreecommitdiff
path: root/slideshow.js
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2022-08-26 13:55:29 +0200
committerpdp8 <pdp8@pdp8.info>2022-08-26 13:55:29 +0200
commitb1e41cda7e0f30c39fc76c8d19dcfcbd197e8ec1 (patch)
tree54324e6a475d58ca0de64cdcb47d4c155a741cf5 /slideshow.js
parent8345a592d03350b6e9efd54b269a64791621410e (diff)
ForkAwesome reintroduced to fix compatibility of media buttons
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()
}