diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index 66ecab96..80baee2c 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -317,7 +317,7 @@ Ox.load.UI = function(options, callback) { vertical: ['top', 'bottom', 'left', 'right'] }; //@ Ox.UI.elements reference to all UI element instances - Ox.UI.elements = {}; + Ox.$elements = Ox.UI.elements = {}; /*@ Ox.UI.getImageData Returns image properties (url) -> Image Name @@ -374,7 +374,7 @@ Ox.load.UI = function(options, callback) { } }); // ... - Ox.UI.getOxElement = function(element) { + Ox.getOxElement = Ox.UI.getOxElement = function(element) { return Ox.$elements[Ox.$(element).data('oxid')]; }; /*@ @@ -408,7 +408,7 @@ Ox.load.UI = function(options, callback) { return Ox.isObject(object) && 'oxid' in object; }; // ... - Ox.UI.isOxElement = function(element) { + Ox.isOxElement = Ox.UI.isOxElement = function(element) { return !!Ox.$(element).attr('data-oxid'); }; //@ Ox.UI.PATH Path of Ox.UI