From e4cb30724f2b7f32c02fb47c6e05c3a997d37b3b Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Mon, 22 Sep 2014 16:25:43 +0200 Subject: [PATCH] GarbageCollection: use , not . --- source/Ox.UI/js/Core/GarbageCollection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Core/GarbageCollection.js b/source/Ox.UI/js/Core/GarbageCollection.js index b1b33281..01b13c2f 100644 --- a/source/Ox.UI/js/Core/GarbageCollection.js +++ b/source/Ox.UI/js/Core/GarbageCollection.js @@ -19,7 +19,7 @@ Ox.GarbageCollection = (function() { var len = Ox.len(Ox.UI.elements); Object.keys(Ox.UI.elements).forEach(function(id) { var $element = Ox.UI.elements[id]; - if ($element && Ox.isUndefined($element.$element.data('oxid'))) { + if ($element && Ox.isUndefined($element.data('oxid'))) { $element.remove(); delete Ox.UI.elements[id]; }