Document.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture
Document.releaseCapture() es obsolete. Usa Element.releasePointerCapture() in su loco. Pro saper plus: https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture