Unfortunately, making that change did not help. If I completely remove the following code, it works fine. Do you see anything that stands out as causing the conflict? I don’t want to remove this part of my site.
<script type="text/javascript">
window.Aeris = window.Aeris || {
onLoad: function() {
// Initialize the SDK with your options
Aeris.init({
client_id: '4',
client_secret: 'X4mtWr9hk',
widgets: true
});
},
onReady: function() {
var widget = new Aeris.widgets.Currents(jQuery('#widget-currents'));
// show the Currents widget in the "widget-sample" div
//var currentsTop = new Aeris.widgets.Currents(jQuery('#widget-sample'));
var widget = new Aeris.widgets.Advisories(jQuery('#widget-advisories'));
var currentwidget = new Aeris.widgets.CurrentsCompact(jQuery('#widget-currentscompact'));
}
};
// Load the SDK asynchronously
(function(w, d) {
var loader = function() {
Aeris.secure = (d.location.protocol === 'https:');
var b = '//' + ((Aeris.secure === true) ? 'js-secure' : 'js') + '.aerisapi.com/';
var v = Aeris.version;
var script = d.createElement('script'), tag = d.getElementsByTagName('script')[0];
script.type = 'text/javascript';
script.async = true;
script.src = b + ((v && v !== '') ? v + '/' : '') + 'aeris.js';
tag.parentNode.insertBefore(script, tag);
}
w.addEventListener ? w.addEventListener('load', loader, false) : w.attachEvent('onload', loader);
})(window, document);
</script>