From f8336fc2c47a5402b8b71f165d71a5f7a4ed76f8 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 24 Sep 2014 20:15:55 +0200 Subject: [PATCH] that.[0] -> that[0] --- source/Ox.UI/js/Form/EditableContent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Form/EditableContent.js b/source/Ox.UI/js/Form/EditableContent.js index ac4b8aa0..cecd891c 100644 --- a/source/Ox.UI/js/Form/EditableContent.js +++ b/source/Ox.UI/js/Form/EditableContent.js @@ -213,10 +213,10 @@ Ox.EditableContent = function(options, self) { function updateSelection() { var range = document.createRange(), selection = window.getSelection(); - that.$element[0].focus(); + that[0].focus(); if (self.options.collapseToEnd) { selection.removeAllRanges(); - range.selectNodeContents(that.$element[0]); + range.selectNodeContents(that[0]); selection.addRange(range); } setTimeout(function() {