Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9772 closed enhancement (wontfix)

Preventing multiple jQuery instances on one page

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: core Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:


Hello there.

Preventing of loading multiple jQuery instances on one page may solve problems that are encounted on many CMS's that support plugins. I know that bad practise of programmers who made those plugins are responsable for those errors, but nevertheless, one line by you guys can solve all those problems.

My suggestion is to add:

if(typeof jQuery != 'function') {  
        // jQuery code here //

and by that preventing of loading multiple jQuery instances on one page.

Change History (1)

comment:1 Changed 12 years ago by timmywil

Component: unfiledcore
Priority: undecidedlow
Resolution: wontfix
Status: newclosed

Having multiple versions of jQuery on the same page has been a long-standing feature of jQuery. There are already mechanisms in place to handle conflicts. Plugin authors and jQuery users should keep this in mind when mixing versions.

Note: See TracTickets for help on using tickets.