Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Nov 17, 2019
1 parent 859f44c commit 9046db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/v2/js/pages/leaderboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ $(document).ready(function() {
const keyword = $(this).val();

if (keyword === 'all') {
document.location.href = document.location.pathname + '?cadence=' + $('#cadence').val() + '&keyword=' + '&product=' + $('#product').val();
document.location.href = document.location.pathname + '?cadence=' + $('#cadence').val() + '&keyword=&product=' + $('#product').val();

window.location.href = new_location;
} else {
Expand All @@ -64,7 +64,7 @@ $(document).ready(function() {
base_url = window.location.href.split('?')[0];
}

document.location.href = document.location.pathname + '?cadence=' + $('#cadence').val() + '&keyword=' + $('#tech-keyword').val() + '&product=' + $('#product').val();
document.location.href = document.location.pathname + '?cadence=' + $('#cadence').val() + '&keyword=' + $('#tech-keyword').val() + '&product=' + $('#product').val();
}
});
});

0 comments on commit 9046db2

Please sign in to comment.