Project:Hovertips and Clicktips
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Adding an Admin setting to globally turn on or off the inclusion of the js/css. Since many pages may not use the hovertip functionality, it would be good to turn off the extra includes and call '_hovertip_init()' from inside the theme or other custom code. Very simple update but will allow better performance on pages without hovertip, if the dev uses '_hovertip_init()'.

AttachmentSize
hovertip_global_switch.patch1.02 KB

Comments

#1

super! this is a much welcome addition. thanks :)