[wp-trac] [WordPress Trac] #6241: Use jQuery onload call when scripts require jQuery

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 15 22:44:47 GMT 2008


#6241: Use jQuery onload call when scripts require jQuery
----------------------------+-----------------------------------------------
 Reporter:  azaozz          |       Owner:  anonymous
     Type:  enhancement     |      Status:  new      
 Priority:  normal          |   Milestone:  2.5      
Component:  Administration  |     Version:  2.5      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------
 Many scripts that call addLoadEvent() require jQuery. Better to call
 jQuery(document).ready directly.

 Also several inline scripts were calling addLoadEvent() when they only had
 to be moved a bit down in the html to work correctly.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6241>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list