Skip to content

Commit

Permalink
Set initial value of Element.UID to 1 so it doesn't collide with the …
Browse files Browse the repository at this point in the history
…UID for `window`. (Victor) [#1292 state:resolved]
  • Loading branch information
savetheclocktower committed Dec 5, 2011
1 parent d9aeeed commit 5968d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prototype/dom/dom.js
Expand Up @@ -3023,7 +3023,7 @@
// STORAGE
var UID = 0;

GLOBAL.Element.Storage = { UID: 0 };
GLOBAL.Element.Storage = { UID: 1 };

function getUniqueElementID(element) {
if (element === window) return 0;
Expand Down

0 comments on commit 5968d82

Please sign in to comment.