Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture
Element.setCapture() састарэў. Выкарыстоўвайце Element.setPointerCapture() замест. Больш інфармацыі: https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture