function endDrag(e) {
	document.removeEventListener("mousemove", drag);
	draggedElement.parentNode.style.boxShadow = "5px 5px 15px var(--shadow)"
	draggedElement.parentNode.style.transform = "scale(1)"
	elements = document.getElementsByTagName("iframe");
	for (let i = 0; i < elements.length; i++) {
		elements[i].classList.remove("no-pointer");
	}
}
//ends the drag and removes the eventListeners

ends the drag and removes the eventListeners
ends the drag and removes the eventListeners
function endDrag(e) {
	document.removeEventListener("mousemove", drag);
	draggedElement.parentNode.style.boxShadow = "5px 5px 15px var(--shadow)"
	draggedElement.parentNode.style.transform = "scale(1)"
	elements = document.getElementsByTagName("iframe");
	for (let i = 0; i < elements.length; i++) {
		elements[i].classList.remove("no-pointer");
	}
}
function endDrag ( e ) { document . removeEventListener ( "mousemove" , drag ) ; draggedElement . parentNode . style . boxShadow = "5px 5px 15px var(--shadow)" draggedElement . parentNode . style . transform = "scale(1)" elements = document . getElementsByTagName ( "iframe" ) ; for ( let i = 0 ; i < elements . length ; i ++ ) { elements [ i ] . classList . remove ( "no-pointer" ) ; } }
ends the drag and removes the eventListeners
ends the drag and removes the eventListeners