From b1e41cda7e0f30c39fc76c8d19dcfcbd197e8ec1 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Fri, 26 Aug 2022 13:55:29 +0200 Subject: ForkAwesome reintroduced to fix compatibility of media buttons --- slideshow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slideshow.js') 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() } -- cgit v1.2.3