Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
One thing that I can tell right off is that you have some sort of "minification" process going on that is compressing your Javascript files and removing all white space, etc. It's definitely not the default Drupal Javascript compression, because that process does not remove whitespace. Is there any way you can turn off whatever mechanism is causing the "minification" to help troubleshoot this issue?
Yes, I do have "JavaScript Aggregator : 6.x-1.x-dev" Compresses the aggregated JavaScript file when Optimize JavaScript is enabled.
1. With "Optimize JavaScript files" Enabled" I unchecked "GZip JavaScript" checkbox.
- Once minified, optionally GZip the aggregated JavaScript file to dramatically decrease its size. Clear cached data
2. I disable "JavaScript Aggregator" With standard "Optimize JavaScript files" Enabled" . Clear cached data
3. "Optimize JavaScript files" Disabled . Clear cached data
4. I disable "Style Switcher" module. Clear cached data
5. All above, but change text size from inside page.
All comeout with same result. Hmm ... thank you very for looking this.
sorry, actually after failed on the steps #4, I enabled everything back to previous state. Anyhow, I have disable "Optimize JavaScript files" and all I have now are ....
I would try switching the theme stylesheet to a specific font size. Try:
body {font-size: 1em;}
It's currently set at:
body{background:#eff9fb;color:#333;font:75%...
If this does not work, try switching to a different theme. I'm guessing it's either something in your theme's CSS or a conflicting module, but I can only do so much to troubleshoot without this becoming a "major investigation" into your site.
You're the man ... that's it !
Nothing to do with JS. I would suggest that this info should be included in readme.txt.
Also to be noted ...when using HTML editor, not use any text formating (font size) which this module will
somehow lost control.
Comments
Comment #1
attheshow commentedI've never seen this happen on any sites yet. Do you have any other jQuery modules enabled that might be interfering, or are you using a custom theme?
Comment #2
attheshow commentedOr can you possibly send a link to the site you're working on so that I can investigate further?
Comment #3
attheshow commentedOne thing that I can tell right off is that you have some sort of "minification" process going on that is compressing your Javascript files and removing all white space, etc. It's definitely not the default Drupal Javascript compression, because that process does not remove whitespace. Is there any way you can turn off whatever mechanism is causing the "minification" to help troubleshoot this issue?
Comment #4
najibx commentedYes, I do have "JavaScript Aggregator : 6.x-1.x-dev" Compresses the aggregated JavaScript file when Optimize JavaScript is enabled.
1. With "Optimize JavaScript files" Enabled" I unchecked "GZip JavaScript" checkbox.
- Once minified, optionally GZip the aggregated JavaScript file to dramatically decrease its size. Clear cached data
2. I disable "JavaScript Aggregator" With standard "Optimize JavaScript files" Enabled" . Clear cached data
3. "Optimize JavaScript files" Disabled . Clear cached data
4. I disable "Style Switcher" module. Clear cached data
5. All above, but change text size from inside page.
All comeout with same result. Hmm ... thank you very for looking this.
Comment #5
attheshow commentedJust went to your site again. I'm still seeing the minified version of the site javascript when I look at the source code of the page.
<script type="text/javascript" src="/sites/default/files/js/b8b5c33a92743e1942adc6b9b806ec4f.jsmin.js"></script>Comment #6
najibx commentedsorry, actually after failed on the steps #4, I enabled everything back to previous state. Anyhow, I have disable "Optimize JavaScript files" and all I have now are ....
Comment #7
attheshow commentedI would try switching the theme stylesheet to a specific font size. Try:
body {font-size: 1em;}It's currently set at:
body{background:#eff9fb;color:#333;font:75%...If this does not work, try switching to a different theme. I'm guessing it's either something in your theme's CSS or a conflicting module, but I can only do so much to troubleshoot without this becoming a "major investigation" into your site.
Comment #8
najibx commentedYou're the man ... that's it !
Nothing to do with JS. I would suggest that this info should be included in readme.txt.
Also to be noted ...when using HTML editor, not use any text formating (font size) which this module will
somehow lost control.