Fixed a bug about unselecting in the file list-item-selection.js (#5098)

This commit is contained in:
greyaz
2022-11-16 13:10:15 +08:00
committed by GitHub
parent ac94004ea9
commit 2841d81528
2 changed files with 5 additions and 2 deletions

View File

@@ -28,6 +28,9 @@ document.addEventListener("DOMContentLoaded", function () {
if (selectedItems.length > 0) {
showActionMenu();
}
else if (selectedItems.length == 0) {
hideActionMenu();
}
}
function showActionMenu() {