Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
RobAndrewHurst committed Apr 12, 2024

Verified

This commit was signed with the committer’s verified signature.
fritzy Nathan Fritz
1 parent 07bb60e commit d0517d3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/ui/elements/modal.mjs
Original file line number Diff line number Diff line change
@@ -81,8 +81,6 @@ export default (modal) => {
// Adjust the modal's position if it exceeds the map boundaries
modal.node.style.left = `${Math.min(Math.max(modal.node.offsetLeft, 0), maxLeft)}px`;
modal.node.style.top = `${Math.min(Math.max(modal.node.offsetTop, 0), maxTop)}px`;

console.log('Adjusting Modal');
}

// Function to end the drag event, resetting cursor style and removing the move and end event listeners
@@ -208,6 +206,4 @@ function shiftContainedCentre(modal, leftShift, topShift) {
// Shift bottom
modal.node.style.top = `${modal.node.offsetTop + topShift}px`
}
}


}

0 comments on commit d0517d3

Please sign in to comment.