From a8417d28fe5ab7385eb810a39ecd7b9fe2c9cdea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Mon, 5 Aug 2013 14:58:29 +0200 Subject: [PATCH] Fixing typo in cursor.getSelectionBoundry --- modules/documentCanvas/canvas/canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }; } -- 2.20.1