Fix closing progress notification at 100%

This commit is contained in:
shortcutme 2019-06-04 16:18:02 +02:00
parent 9cda561091
commit bb7af2e8ed
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 2 additions and 2 deletions

View file

@ -379,7 +379,7 @@ class Wrapper
if $(".notification-icon", elem).data("done")
return false
else if percent >= 100 # Done
else if percent >= 1 # Done
$(".circle-fg", elem).css("transition", "all 0.3s ease-in-out")
setTimeout (->
$(".notification-icon", elem).css {transform: "scale(1)", opacity: 1}

View file

@ -1487,7 +1487,7 @@ $.extend( $.easing,
}
if ($(".notification-icon", elem).data("done")) {
return false;
} else if (percent >= 100) {
} else if (percent >= 1) {
$(".circle-fg", elem).css("transition", "all 0.3s ease-in-out");
setTimeout((function() {
$(".notification-icon", elem).css({