From fb6c956250c952b8bb3464b60b345a9446cf4f94 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 26 Jun 2012 18:01:13 +0200 Subject: [PATCH] remove debugging --- source/Ox.UI/js/Core/Element.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index ec8d7bc6..04403ca0 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -93,10 +93,6 @@ Ox.Element = function(options, self) { .addClass('OxElement') .on({mousedown: mousedown}); - that._leakSelf = function() { - return self; - } - setTooltip(); function bind(event, callback, once) { @@ -406,7 +402,7 @@ Ox.Element = function(options, self) { $element.addClass('OxElement').data({oxid: that.oxid}); that.$element.replaceWith($element); that.$element = $element; - that[0] = that.$element[0]; + that[0] = $element[0]; return that; };