Hi Jen,
Looks like you have already figured it out.
I see it working on your site.
One optimization I give is below. You can try replacing the below code
jQuery(window).on('DOMContentLoaded load resize scroll', function() {
var isi= document.getElementById('isi');
if (isi) {
onVisibilityChange(isi, function(visible) {
var my_ancr = document.getElementById('ancr-1641');
if (visible) {
my_ancr.announcer.hide();
}
else {
my_ancr.announcer.show();
}
})();
}
});
with this
jQuery( document ).ready(function() {
var isi= document.getElementById('isi');
jQuery(window).on('DOMContentLoaded load resize scroll', function() {
if (isi) {
onVisibilityChange(isi, function(visible) {
var my_ancr = document.getElementById('ancr-1641');
if(typeof my_ancr.announcer === 'undefined'){
return;
}
if (visible) {
my_ancr.announcer.hide();
}else {
my_ancr.announcer.show();
}
})();
}
});
});