We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
purgeElement
1 parent 0d23b66 commit ce3d1abCopy full SHA for ce3d1ab
src/prototype/dom/dom.js
@@ -1166,7 +1166,7 @@
1166
var uid = getUniqueElementID(element);
1167
if (uid) {
1168
Element.stopObserving(element);
1169
- if (HAS_UNIQUE_ID_PROPERTY)
+ if (!HAS_UNIQUE_ID_PROPERTY)
1170
element._prototypeUID = UNDEFINED;
1171
delete Element.Storage[uid];
1172
}
@@ -1188,7 +1188,7 @@
1188
1189
1190
1191
- if (!window.addEventListener && window.attachEvent) {
+ if (HAS_UNIQUE_ID_PROPERTY) {
1192
purgeCollection = purgeCollection_IE;
1193
1194
0 commit comments