diff --git a/js/utils/dom.js b/js/utils/dom.js index f51d2bdadd..103f765639 100644 --- a/js/utils/dom.js +++ b/js/utils/dom.js @@ -124,9 +124,9 @@ * Get a rect representing the bounds of the given textNode. * @param {DOMElement} textNode The textNode to find the bounds of. * @returns {object} An object representing the bounds of the node. Properties: - * - `{number}` `left` The left positton of the textNode. - * - `{number}` `right` The right positton of the textNode. - * - `{number}` `top` The top positton of the textNode. + * - `{number}` `left` The left position of the textNode. + * - `{number}` `right` The right position of the textNode. + * - `{number}` `top` The top position of the textNode. * - `{number}` `bottom` The bottom position of the textNode. * - `{number}` `width` The width of the textNode. * - `{number}` `height` The height of the textNode.