The module currently includes the JS based upon the settings in the init hook. However there is no easy way to programatically include the JS through other contrib modules that need it on excluded pages.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fancybox-743010.patch | 2.51 KB | rwohleb |
Comments
Comment #1
rwohlebHere is a patch that splits the JS include code into an easily callable function. The JS can then be included on excluded URLs using code like:
Comment #2
bas.hr commentedCommitted, thanks!
Comment #3
klonosUpdate documentation to include this?