When I enable "Optimize Javascript" in Site Configuration > Performance, my sifr text no longer works.
+1
Dou you have JavaScript errors when js is compressed ? You can install Firebug (firefox plugin) to check it.
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 ()
Comments
Comment #1
corbacho commented+1
Comment #2
thomas.rambaud commentedDou you have JavaScript errors when js is compressed ?
You can install Firebug (firefox plugin) to check it.
Comment #3
corbacho commentedno 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 ()