Skip to main content

Bug Tracker

Side navigation

#9772 closed enhancement (wontfix)

Opened July 07, 2011 09:36AM UTC

Closed July 07, 2011 01:35PM UTC

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:
Description

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.

Attachments (0)
Change History (1)

Changed July 07, 2011 01:35PM UTC by timmywil comment:1

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.