Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Your name committed Oct 7, 2024
1 parent efa0463 commit 634d5f9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,19 +582,19 @@ function makeDataSourceDropdown() {
$("#data_source").append(new Option(text, val));
});

if (page_temp != "https://crimedatatool.com/index.html") {
if (page_temp == "https://crimedatatool.com/index.html") {
current_page = 0
}
if (page_temp != "https://crimedatatool.com/hate.html") {
if (page_temp == "https://crimedatatool.com/hate.html") {
current_page = 1
}
if (page_temp != "https://crimedatatool.com/arrest.html") {
if (page_temp == "https://crimedatatool.com/arrest.html") {
current_page = 2
}
if (page_temp != "https://crimedatatool.com/police.html") {
if (page_temp == "https://crimedatatool.com/police.html") {
current_page = 3
}
if (page_temp != "https://crimedatatool.com/nibrs.html") {
if (page_temp == "https://crimedatatool.com/nibrs.html") {
current_page = 4
}
$("#data_source").val(current_page)
Expand Down

0 comments on commit 634d5f9

Please sign in to comment.