[jQuery] $(document).ready(function() is causing scripts to run twice!
I encase all of my functions inside of a jQuery(document).ready
(function() {} block, but I noticed recently that my scripts are
running multiple times. After a lot of debugging, I realized that
they only ran once after I deleted that segment of code. The first
time it ran however, it wouldn't stop at any debugging breakpoints.
Should I just avoid that function altogether?