Update src/controllers/dashboard/scheduledtasks/scheduledtasks.js

Co-Authored-By: Julien Machiels <julien.machiels@protonmail.com>
This commit is contained in:
Dmitry Lyzo 2020-03-10 19:00:51 +03:00 committed by GitHub
parent b348c69844
commit ed25f0bac1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,8 +92,7 @@ define(["jQuery", "loading", "events", "globalize", "serverNotifications", "huma
function setTaskButtonIcon(button, icon) {
var inner = button.querySelector("i");
inner.classList.remove("stop");
inner.classList.remove("play_arrow");
inner.classList.remove("stop", "play_arrow");
inner.classList.add(icon);
}