diff --git a/js/toolbar.js b/js/toolbar.js index d4a57745f2..4f3a783202 100644 --- a/js/toolbar.js +++ b/js/toolbar.js @@ -284,7 +284,7 @@ class Toolbar { runSlowlyIcon.style.display = "none"; } - runSlowlyIcon.onclick = function() { + runSlowlyIcon.onclick = () => { onclick(); docById("stop").style.color = stopIconColorWhenPlaying; };