Avoiding multiple jQuery files?

Having trouble installing ModphpBB3 - Post any questions or issues in here.
Post Reply
candie111
Forum Member
Forum Member
Posts: 21
Joined: Mon Nov 29, 2010 7:57 am

Avoiding multiple jQuery files?

Post by candie111 »

With more and more MODs making use of jQuery, has anyone come up with a way to prevent having a build up of redundant links to jquery,js in the overall_header.html?

Potential problems are people adding MODs could have multiple links to jquery.js files in their headers, or links to different versions of jquery.js files too.

Is there any idea how to prevent or notify admin's installing MODs how to make sure they only have one jquery file, even though they may have installed multiple MODs that use and include jQuery??
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: Avoiding multiple jQuery files?

Post by cisco007 »

what i have done is if multiple mods use some kind of jquery, remove all those similar lines and just leave one jquery, most code is the same and the mods should work!
Post Reply