Skip to content

Commit

Permalink
hide the pause button for completed or error task.
Browse files Browse the repository at this point in the history
  • Loading branch information
eroamane authored May 10, 2020
1 parent 6ec71e2 commit d3d7f8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/yaaw.js
Original file line number Diff line number Diff line change
Expand Up @@ -819,9 +819,11 @@ var YAAW = (function() {
if (status == "removed" || status == "complete" || status == "error") {
$(".task-restart").show();
$(".task-start").hide();
$(".task-pause").hide();
} else {
$(".task-restart").hide();
$(".task-start").show();
$(".task-pause").show();
}
return false;
}).live("mouseout", function(ev) {
Expand Down

0 comments on commit d3d7f8a

Please sign in to comment.