Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The variable $wrapper_id is actually a class ID
php
function _popups_reference_links($field, $src_type, $wrapper_id, $widget_type) {
iJS :
var $wrapper = $(popup.targetLayerSelector() + ' div.' + rel);
I gave it an ID instead of a class and it didn't work, heh.