Only bind .ready() once per instance of jQuery - and only bind if the ready() method is actually called (nothing is bound if window/load is used).
This commit is contained in:
parent
3fb4779abb
commit
f53aa62fd3
2 changed files with 12 additions and 3 deletions
|
@ -1,2 +1 @@
|
|||
// prevent execution of jQuery if included more than once
|
||||
if ( typeof jQuery == "undefined" ) (function(){
|
||||
(function(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue