Skip to content

Commit 5968d82

Browse files
Set initial value of Element.UID to 1 so it doesn't collide with the UID for window. (Victor) [#1292 state:resolved]
1 parent d9aeeed commit 5968d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prototype/dom/dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3023,7 +3023,7 @@
30233023
// STORAGE
30243024
var UID = 0;
30253025

3026-
GLOBAL.Element.Storage = { UID: 0 };
3026+
GLOBAL.Element.Storage = { UID: 1 };
30273027

30283028
function getUniqueElementID(element) {
30293029
if (element === window) return 0;

0 commit comments

Comments
 (0)