add icon to play button

This commit is contained in:
Set Hallstrom 2020-11-04 17:37:44 +01:00
parent c8e23adc5d
commit 9a0be19d8e

View file

@ -128,7 +128,7 @@ layout: default
loadUrl("{{ relBase }}{{ page.next.url }}"); return false; loadUrl("{{ relBase }}{{ page.next.url }}"); return false;
}); });
mu.onplaying = function () { mu.onplaying = function () {
pauseButton.innerHTML = "Pause"; pauseButton.innerHTML = "⏯️ Pause";
fixedplayer.classList.remove("hideplayer"); fixedplayer.classList.remove("hideplayer");
}; };
@ -147,7 +147,7 @@ layout: default
}); });
mu.addEventListener('pause', function () { mu.addEventListener('pause', function () {
spincover.classList.add("paused"); spincover.classList.add("paused");
pauseButton.innerHTML = "Resume"; pauseButton.innerHTML = "⏯️ Resume";
}); });
</script> </script>