
As explained in previous commits, it's not safe to use JS code in child function callbacks, so let's use the safer version of it. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6698 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3293>