()
| 292 | modal.style.opacity = '1'; |
| 293 | } |
| 294 | function hideModal() { |
| 295 | if (!modal) return; |
| 296 | modal.style.visibility = 'hidden'; |
| 297 | modal.style.opacity = '0'; |
| 298 | const hiddenNow = $('hiddenCardsContainer'); |
| 299 | if (hiddenNow && modal.contains(card)) hiddenNow.appendChild(card); |
| 300 | } |
| 301 | function maybeHide() { |
| 302 | setTimeout(() => { |
| 303 | if (!hoverActive && !isLocked) hideModal(); |
no test coverage detected