fixing a resize bug in Ox.List

This commit is contained in:
rolux 2011-05-19 14:37:19 +02:00
commit f311e05412
5 changed files with 23 additions and 5 deletions

View file

@ -27,6 +27,7 @@ Ox.forEach($('<div>'), function(val, key) {
if (Ox.isFunction(val)) {
Ox.JQueryElement.prototype[key] = function() {
var args = arguments, id, ret, that = this;
if (key == 'size') Ox.print('size', args)
Ox.forEach(args, function(arg, i) {
// if an ox object was passed
// then pass its $element instead