}).catch(function (err) { console.warn('Something went wrong.', err); }); } jQuery(function () { loadGasPrices().then(tableHtml => { if (tableHtml.includes("$")) { setupFaqSchema('{"@type": "Question","name": "What are the gas prices at Migizy Gas Station?","acceptedAnswer": {"@type": "Answer","text": "' + tableHtml + '"}}'); } else { setupFaqSchema(); } }); }); jQuery(function () { jQuery.ajax({ url: "https://firstnationsgas.ca/ajax/?view=station-near-station-by-id&station_id=3528&mapcenter=46.7852541,-78.98598179999999", }).done(function (data) { jQuery("#nearby-stations").html(data); }); jQuery.ajax({ url: "https://firstnationsgas.ca/ajax/?view=locations-near-station&mapcenter=46.7852541,-78.98598179999999", }).done(function (data) { jQuery("#nearby-locations").html(data); }); });