diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown-final.html b/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown-final.html index 43691f1e..3e1787a4 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown-final.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown-final.html @@ -81,7 +81,7 @@ const all_path_cards = document.querySelectorAll('div.search-div'); // Set page state to Browse, if not already - setToBrowse(); + //setToBrowse(); // Update the facet var item_name = evt.detail.value; diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown-multilevel.html b/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown-multilevel.html index 7fc5b3e4..3b0c20d0 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown-multilevel.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown-multilevel.html @@ -79,7 +79,7 @@ const all_path_cards = document.querySelectorAll('div.search-div'); // Set page state to Browse, if not already - setToBrowse(); + //setToBrowse(); // Update the facet var item_name = evt.detail.value; diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown.html b/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown.html index 10d00cbb..a993c88a 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/filter-dropdown.html @@ -33,7 +33,7 @@ const all_path_cards = document.querySelectorAll('div.search-div'); // Set page state to Browse, if not already - setToBrowse(); + //setToBrowse(); // Update the facet var item_name = evt.detail.value; diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/scripts-for-three-ctas.html b/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/scripts-for-three-ctas.html index c0b95ec9..c2c34ade 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/scripts-for-three-ctas.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/eco-dashboard/scripts-for-three-ctas.html @@ -78,6 +78,6 @@ document.getElementById('browse-cta').addEventListener('click', function() { // set to browse mode - setToBrowse(); + //setToBrowse(); }); \ No newline at end of file diff --git a/themes/arm-design-system-hugo-theme/static/js/eco-dashboard/search.js b/themes/arm-design-system-hugo-theme/static/js/eco-dashboard/search.js index 87a67ef1..b5961e08 100644 --- a/themes/arm-design-system-hugo-theme/static/js/eco-dashboard/search.js +++ b/themes/arm-design-system-hugo-theme/static/js/eco-dashboard/search.js @@ -392,7 +392,7 @@ function searchHandler(search_string) { } // Set page state to Browse, if not already - setToBrowse(); + //setToBrowse(); // Sanitize the input @@ -420,7 +420,7 @@ function filterHandler(element) { const all_path_cards = document.querySelectorAll('.search-div'); // Set page state to Browse, if not already - setToBrowse(); + //setToBrowse(); // get status of checkbox (true for checked, false for unchecked) element.value().then((value) => { @@ -454,7 +454,7 @@ function filterHandler_radio(element) { const all_path_cards = document.querySelectorAll('div.search-div'); // Set page state to Browse, if not already - setToBrowse(); + //setToBrowse(); // scroll to top of page if needed to prevent jumps smoothScrollForStickyFilters();