From fb77591a2b49ae55a5f8d5d276453c79b927db80 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Mon, 22 Sep 2014 17:10:43 +0200 Subject: [PATCH] cosmetic changes --- source/Ox.UI/js/Core/Element.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index 406c184e..cfaf06bd 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -118,6 +118,9 @@ }); that[0] = that.$element[0]; that.length = 1; + that.self = function() { + return arguments[0] === _ ? self : {}; + }; Ox.elements[that.oxid] = that; if (self.options.element == '