Don't hide download panel if mouse over

pull/1/head
ClemDee 6 years ago
parent b74f7b5ec2
commit e542be75a3

@ -183,8 +183,14 @@ define([
clearTimeout(queue.to); clearTimeout(queue.to);
queue.to = window.setTimeout(function () { queue.to = window.setTimeout(function () {
if (config.keepTable) { return; } if (config.keepTable) { return; }
File.$container.fadeOut(); // don't hide panel if mouse over
}, 3000); if (File.$container.is(":hover")) {
File.$container.one("mouseleave", function () { File.$container.fadeOut(); });
}
else {
File.$container.fadeOut();
}
}, 20000);
return; return;
} }
if (queue.inProgress) { return; } if (queue.inProgress) { return; }

Loading…
Cancel
Save