Fixed the double-firing IE bug. (Ticket #13)
This commit is contained in:
parent
c43e1e379d
commit
5c7551e318
1 changed files with 8 additions and 6 deletions
|
@ -46,6 +46,7 @@ $.$$ready = [];
|
|||
|
||||
// Handle when the DOM is ready
|
||||
$.ready = function() {
|
||||
if ( !$.$$isReady ) {
|
||||
$.$$isReady = true;
|
||||
if ( $.$$ready ) {
|
||||
for ( var i = 0; i < $.$$ready.length; i++ ) {
|
||||
|
@ -53,6 +54,7 @@ $.ready = function() {
|
|||
}
|
||||
$.$$ready = [];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// If Mozilla is used
|
||||
|
|
Loading…
Add table
Reference in a new issue