I just added a script
scroll.js, but it does not get loaded.
My theme is called
test. I put the script in the
js directory within the theme directory.
Permissions on the script are
644 (like on all other scripts in other themes) and permissions on the js directory are
I added a line
scripts= js/scroll.js to
Sorry for forgetting to mention the version of Drupal. I'm using Drupal 7. I flushed all caches and did a hard refresh in the browser (tried both Firefox and Chromium).
After it looking like nothing was being loaded, I added a line
window.alert("sometext"); to the script just to be sure. Still nothing.
In Firefox and Chrome the file is neither listed as being loaded nor as failing to load or permissions error.
It seems to me that the change to the
.info file is being ignored, but I might well be wrong. How do I force Drupal to not ignore the new script file?