From: Aleksander Ɓukasz Date: Mon, 5 Aug 2013 12:58:29 +0000 (+0200) Subject: Fixing typo in cursor.getSelectionBoundry X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/a8417d28fe5ab7385eb810a39ecd7b9fe2c9cdea Fixing typo in cursor.getSelectionBoundry --- diff --git a/modules/documentCanvas/canvas/canvas.js b/modules/documentCanvas/canvas/canvas.js index cb9fb69..dd15d06 100644 --- a/modules/documentCanvas/canvas/canvas.js +++ b/modules/documentCanvas/canvas/canvas.js @@ -617,7 +617,7 @@ $.extend(Cursor.prototype, { element: focusElement, offset: getOffset('focus'), offsetAtBeginning: getOffset('focus') === 0, - offsetAtEnd: selection.focusElement.data.length === getOffset('focus') + offsetAtEnd: selection.focusNode.data.length === getOffset('focus') }; }