Work on general layout improvements. Making special cases for Safari browsers.

This commit is contained in:
Scott Idem
2025-06-26 20:41:25 -04:00
parent 4ef2e7cd6b
commit bd0d96cb83
3 changed files with 17 additions and 7 deletions

View File

@@ -173,6 +173,11 @@ function add_activity_log(
let message = {'event_id': idaa_event_obj?.event_id};
window.parent.postMessage(message, "*");
if ($ae_loc?.iframe && $ae_loc.browser_type == 'safari') {
console.log('In Safari iframe, sending message to parent window to scroll to top as well');
window.parent.postMessage({'scroll_to': 0}, "*"); // This should be in pixels
}
// $idaa_sess.recovery_meetings.show_main__options = true;
// $idaa_sess.recovery_meetings.show_list__event_obj_li = true;
$idaa_trig.event_id = true;