diff --git a/CHANGELOG b/CHANGELOG index 5054169..dbea7be 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix a failing test in base.html in Safari 2. [Tobie Langel] + * Fix Element#positionedOffset and Element#getOffsetParent for static elements on IE. [Thomas Fuchs] * Make sure event handlers and their wrappers are removed from the cache by Event.stopObserving. [sam, Severin Heiniger] diff --git a/src/base.js b/src/base.js index b2fb118..1ee383c 100644 --- a/src/base.js +++ b/src/base.js @@ -14,7 +14,6 @@ var Class = { if (Object.isFunction(parent)) { Class.extending = true; method.prototype = new parent(); - method.prototype.constructor = method; parent.subclasses.push(method); @@ -22,6 +21,7 @@ var Class = { } if (methods) Class.extend(method, methods); + method.prototype.constructor = method; return method; },