Drop down works in Wix but not in browser

Hi there,

My site uses a drop down list on the home page which works fine in Wix preview but not in Chrome or Firefox on my computer or phone or my husband’s. Here’s the URL: https://susannakleeman.wixsite.com/refugeevoices. Scroll down beyond the map and try to click the dropdown titled ‘Search interviewees by place of birth’. It is connected to data…

Please help and big thanks,

Susanna

Here is my page code if that’s any help:

import wixData from ‘wix-data’;
import wixLocation from ‘wix-location’;

$w.onReady( function () {
$w(“#repeaterResults”).onItemReady(($w, dataItem, index) => {
let linkToDynamicPage = dataItem[“link-RefugeeVoices-title”];
$w(‘#buttonResults’).onClick(() => {
wixLocation.to(linkToDynamicPage);
});
});
$w(‘#repeaterResults’).onItemReady( ($w, itemData, index) => {
$w(“#buttonResults”).label = itemData.title;
});
});

export function dropdown1_change(event, $w) {
let searchValue = $w(‘#dropdown1’).value;
wixData.query(‘1RefugeeVoices’)
.contains(‘placeOfBirth’, $w(‘#dropdown1’).value)
.find()
.then(res => {
$w(‘#repeaterResults’).data = res.items;
$w(“#box3”).expand();
} );
}

export function button1_click(event, $w) {
$w(‘#box3’).collapse()
}

Have you synced your collection to live?

OK so I just checked this and I hadn’t and everything now works perfectly. Feeling rather foolish. Apologies and many thanks!