()
| 2634 | // @function restoreOutline() |
| 2635 | // Cancels the effects of a previous [`L.DomUtil.preventOutline`](). |
| 2636 | function restoreOutline() { |
| 2637 | if (!_outlineElement) { return; } |
| 2638 | _outlineElement.style.outlineStyle = _outlineStyle; |
| 2639 | _outlineElement = undefined; |
| 2640 | _outlineStyle = undefined; |
| 2641 | off(window, 'keydown', restoreOutline); |
| 2642 | } |
| 2643 | |
| 2644 | // @function getSizedParentNode(el: HTMLElement): HTMLElement |
| 2645 | // Finds the closest parent node which size (width and height) is not null. |