diff --git a/Source/jQuery.addObject.js b/Source/jQuery.addObject.js index 0c1bdfb..a9fd597 100644 --- a/Source/jQuery.addObject.js +++ b/Source/jQuery.addObject.js @@ -21,7 +21,7 @@ jQuery.addObject = function(name, object){ return this; } if (instance) return instance; - this.data(name, new object(this.selector, arg)); + this.data(name, new object(this, arg)); return this; }; };