Document.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture
Zaharkituta dago Dcoument.releaseCapture(). Erabili Element.releasePointerCapture() horren ordez. Laguntza gehiagorako https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture