()
| 1032 | |
| 1033 | // Let other modules (drag/drop) kill the hover card instantly. |
| 1034 | export function cancelHoverPreview() { |
| 1035 | try { |
| 1036 | if (hoverPreviewTimer) { |
| 1037 | clearTimeout(hoverPreviewTimer); |
| 1038 | hoverPreviewTimer = null; |
| 1039 | } |
| 1040 | } catch (e) {} |
| 1041 | |
| 1042 | hoverPreviewActiveRow = null; |
| 1043 | hoverPreviewContext = null; |
| 1044 | hoverPreviewHoveringCard = false; |
| 1045 | |
| 1046 | if (hoverPreviewEl) { |
| 1047 | hoverPreviewEl.style.display = 'none'; |
| 1048 | } |
| 1049 | } |
| 1050 | |
| 1051 | function isHoverPreviewDisabled() { |
| 1052 | if (window.disableHoverPreview === true) return true; |
no outgoing calls
no test coverage detected