Set document.loaded = true before firing dom:loaded custom event.

This commit is contained in:
Andrew Dupont 2008-12-14 18:42:15 -06:00
parent c4f6066d2c
commit 60a6c7ac70
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
* Set document.loaded = true before firing dom:loaded custom event. (Andrew Dupont)
* Allow Element#store to accept an object containing several key/value pairs. (ZenCocoon, Andrew Dupont)
* Change Element#retrieve to return the element itself (for chaining). (Andrew Dupont)

View File

@ -380,8 +380,8 @@
if (document.loaded) return;
if (_timer) window.clearInterval(_timer);
document.fire("dom:loaded");
document.loaded = true;
document.fire("dom:loaded");
}
function _webkitContentLoadedCheck() {