Skip to content

Commit

Permalink
Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Forsgren committed Nov 1, 2022
1 parent 59c2a00 commit 2504e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controls/position.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const Position = function Position(options = {}) {
}

/**
* Update coords in input, transformin if necessary.
* Update coords in input, transforming if necessary.
* @param {any} sourceCoords
*/
function updateCoords(sourceCoords) {
Expand Down Expand Up @@ -254,7 +254,7 @@ const Position = function Position(options = {}) {
} else if (e.which === 13) {
findCoordinate();
}
// For DMS, we handle everything ourselves. Ignore all keypresses (including current key) i order to keep browser not interfering
// For DMS, we handle everything ourselves. Ignore all keypresses (including current key) in order to keep browser from interfering
e.preventDefault();
} else if (e.which === 13) {
findCoordinate();
Expand Down

0 comments on commit 2504e2e

Please sign in to comment.