Skip to content

Commit

Permalink
Merge pull request #174 from ArmDeveloperEcosystem/main
Browse files Browse the repository at this point in the history
Fixed WoA issue with setToBrowse function
  • Loading branch information
zachlasiuk authored Mar 28, 2024
2 parents 2f6562e + 9189b9e commit 452b480
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@

document.getElementById('browse-cta').addEventListener('click', function() {
// set to browse mode
setToBrowse();
//setToBrowse();
});
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ function searchHandler(search_string) {
}

// Set page state to Browse, if not already
setToBrowse();
//setToBrowse();


// Sanitize the input
Expand Down Expand Up @@ -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) => {
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 452b480

Please sign in to comment.