I was playing with jquery transitions and ended up disabling my own ability to overwrite the Custom Header code.
I click on save and I get a nice fade in effect, however, the changes dont get saved.
Here is the code I am looking for to change:
<script src="/assets/jquery-2.1.3.min.js"></script>
<script>
$(document).on('click', function(){
$(".App-content").hide(0).delay(200).fadeIn(1000);
$(".DiscussionList").show('slide', 400);
return false;
});
</script>
I have tried using the following commands to identify the file that stores those customized settings:
find /var/www/flarum-dir -type f -exec grep -H '/assets/jquery-2.1.3.min.js' {} +
grep -rnw '/var/www/flarum-dir' -e '.hide(0).delay(200).fadeIn(1000)'
If I view the forums page source, I can see:
<script src="/assets/jquery-2.1.3.min.js"></script>
<script>
$(document).on('click', function(){
$(".App-content").hide(0).delay(200).fadeIn(1000);
$(".DiscussionList").show('slide', 400);
return false;
});
</script>
I just cant locate where that data is being stored. I thought it would have been in the /assets directory under flarum-d6786876d.js or possibly stored in a cache file?
Any help would be greatly appreciated.