@visitscotland/component-library 5.20.2 → 5.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/manifest.json +2 -2
- package/dist/client/scripts/111e4d43239ccd35238d.js +1 -0
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +1 -1
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/d4999b8d90a9587abd34.js +0 -1
- /package/dist/client/styles/{d4999b8d90a9587abd34.css → 111e4d43239ccd35238d.css} +0 -0
- /package/dist/ssr/styles/{ccb66ef5fcbfa5829580.css → 578e1174f90e6fa25264.css} +0 -0
|
@@ -34876,7 +34876,7 @@ const _hoisted_1$4 = { class: "vs-fed-search-input" }, _hoisted_2$4 = { class: "
|
|
|
34876
34876
|
engineId: r.cludoEngineId
|
|
34877
34877
|
}, t.eventsApi = r.eventsApi, t.filters = r.filters, t.siteLanguage = r.siteLanguage, i(), typeof window < "u" && typeof document < "u") {
|
|
34878
34878
|
const v = new URLSearchParams(document.location.search), k = v.get("search-term"), C = parseInt(v.get("page"), 10);
|
|
34879
|
-
C && (t.currentPage = C), k && (t.searchTerm = k, t.getSearchResults()
|
|
34879
|
+
C && (t.currentPage = C), k && (t.searchTerm = k), t.getSearchResults(), window.onbeforeunload = () => {
|
|
34880
34880
|
b();
|
|
34881
34881
|
};
|
|
34882
34882
|
}
|