Document.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture
Document.releaseCapture() d aqdim. Seqdec Element.releasePointerCapture() deg ubdil-is. I wugar n talɣut https://developer.mozilla.org/fr/docs/Web/API/Element/releasePointerCapture