diff --git a/source/Ox.UI/js/List/IconList.js b/source/Ox.UI/js/List/IconList.js index 24d78263..6829df1c 100644 --- a/source/Ox.UI/js/List/IconList.js +++ b/source/Ox.UI/js/List/IconList.js @@ -222,6 +222,7 @@ Ox.IconList = function(options, self) { @*/ that.size = function() { that.$element.size(); + return that; }; // fixme: deprecate, use options() diff --git a/source/Ox.UI/js/List/InfoList.js b/source/Ox.UI/js/List/InfoList.js index 41c2636a..02292ed6 100644 --- a/source/Ox.UI/js/List/InfoList.js +++ b/source/Ox.UI/js/List/InfoList.js @@ -240,6 +240,7 @@ Ox.InfoList = function(options, self) { @*/ that.size = function() { that.$element.size(); + return that; }; /*@