diff --git a/CHANGELOG b/CHANGELOG index 0c8ebd6..029712f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Make Element.extend work on IE for Nodes with the same ID that where discarded. [Mislav Marohnić, Thomas Fuchs] + * Make Selector correctly extend the first element it returns on IE. [Thomas Fuchs] * Prevent a crash in Safari when using $A() on NodeList objects that contain text nodes. [Thomas Fuchs] diff --git a/src/dom.js b/src/dom.js index 50003fb..7c4de17 100644 --- a/src/dom.js +++ b/src/dom.js @@ -63,7 +63,7 @@ Element.extend = function(element) { element[property] = cache.findOrStore(value); } - element._extended = true; + element._extended = Prototype.emptyFunction; return element; }; diff --git a/test/unit/dom.html b/test/unit/dom.html index 2a924ee..0719f78 100644 --- a/test/unit/dom.html +++ b/test/unit/dom.html @@ -153,6 +153,8 @@