(el)
| 1813 | } |
| 1814 | |
| 1815 | function getPaneKeyForElement(el) { |
| 1816 | const pane = el && el.closest ? el.closest('.file-list-pane') : null; |
| 1817 | if (pane && pane.classList.contains('secondary-pane')) return 'secondary'; |
| 1818 | if (pane && pane.classList.contains('primary-pane')) return 'primary'; |
| 1819 | return normalizePaneKey(window.activePane); |
| 1820 | } |
| 1821 | |
| 1822 | function getPaneSourceIdForElement(el) { |
| 1823 | return getPaneSourceId(getPaneKeyForElement(el)); |
no test coverage detected