Fix another stupid typo
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Wed, 13 Apr 2011 12:36:18 -0600
changeset 67 3334e09907f1
parent 66 cd94129545fa
child 68 db8298c35b46
Fix another stupid typo

I'm honestly not sure how this even worked for the last couple of hours.
Only Opera was throwing exceptions, everyone else seemed to work fine.
implementation.js
--- a/implementation.js	Wed Apr 13 12:30:04 2011 -0600
+++ b/implementation.js	Wed Apr 13 12:36:18 2011 -0600
@@ -961,7 +961,7 @@
 	&& range.endOffset != getNodeLength(range.endContainer)) {
 		// IE seems to mutate the range incorrectly here, so we need correction
 		// here as well.
-		var newStart = [range.startContainer, range.endContainer];
+		var newStart = [range.startContainer, range.startOffset];
 		var newEnd = [range.endContainer, range.endOffset];
 		range.endContainer.splitText(range.endOffset);
 		range.setStart(newStart[0], newStart[1]);