When I enable "Optimize Javascript" in Site Configuration > Performance, my sifr text no longer works.

Comments

corbacho’s picture

+1

thomas.rambaud’s picture

Dou you have JavaScript errors when js is compressed ?
You can install Firebug (firefox plugin) to check it.

corbacho’s picture

no errors, and sifr blinks for a moment, dissapearing inmediatly.

It happens also without the module, adding Sifr js files with drupal_add_js in a separate module.

Note that I have jquery_update 2. version installed too.

Also I checked that sifr.js is added *before* sifr-config.js in the aggregated js file.

In the meanwhile workaround is add javascript files manually with drupal_set_html_head ()