Set document.loaded = true before firing dom:loaded custom event.
This commit is contained in:
parent
c4f6066d2c
commit
60a6c7ac70
|
@ -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)
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue