From 634d5f995147678b74e69f31aafd47e695783c7e Mon Sep 17 00:00:00 2001 From: Your name Date: Mon, 7 Oct 2024 18:57:40 -0400 Subject: [PATCH] . --- js/utils.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/utils.js b/js/utils.js index 3ebd6c1..f46d27a 100644 --- a/js/utils.js +++ b/js/utils.js @@ -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)