So whenever somebody clicks 'alerts' to try and get the dropdown menu and view their alerts, the alerts dropdown menu is closing itself almost instantly and thus people can't read their alerts.
Any ideas? Thanks!
remove second instance of below code in the
headerinclude template
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
The headerinclude template is in the Ungrouped Templates group.
Admin CP -> Templates & Style -> Templates -> *Your theme* -> Ungrouped Templates -> headerinclude
But there is an FAQ for this problem in the MyAlerts wiki.
https://github.com/euantorano/MyAlerts/w...uickly-why
Is this fallback even necessary? I already include the latest jquery and jquery-migrate from google CDN????
Okay looks like it is.... because when I removed:
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
It would go straight to alerts with no popup...
Yet I have:
<script type="text/javascript" src="https//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
So why is this happening? I just don't want to have multiple JQuery loaded (waste of page time)
I'm guessing myalerts is only compatible with 1.7.2?
Edit: lol I'm an idiot https// missing columns https://
^ post forum url & a test user account (or PM temporary access to admin panel)
@Claraviolet myalerts.js was loading twice hence the issue