aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2021-12-17 04:30:13 -0500
committerPriyansh <[email protected]>2021-12-17 04:30:13 -0500
commit4580079046a624f376af6284bd52402f514923f8 (patch)
tree2509928b1a9e69fb90b869be21628f029c49bd84 /static
parentcefabf931972bd6120ff66a8cedfdbd043042ac1 (diff)
downloadtemp_pred_arima-4580079046a624f376af6284bd52402f514923f8.tar.xz
temp_pred_arima-4580079046a624f376af6284bd52402f514923f8.zip
moving sidebar as navbar
Diffstat (limited to 'static')
-rw-r--r--static/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/search.js b/static/js/search.js
index 28dbd15..f36a2c6 100644
--- a/static/js/search.js
+++ b/static/js/search.js
@@ -19,7 +19,7 @@ citySearch.addEventListener('keyup', (e) => {
}
for (var result of results) {
const listElement = document.createElement('li');
- listElement.classList.add('flex', 'items-center', 'space-x-2', 'py-2', 'px-4', 'relative', 'w-full', 'hover:bg-blue-600', 'hover:text-white', 'cursor-pointer');
+ listElement.classList.add('flex', 'text-gray-900', 'items-center', 'py-2', 'px-4', 'relative', 'w-full', 'hover:bg-indigo-600', 'hover:text-white', 'cursor-pointer');
listElement.setAttribute('latitude', result.item.latitude);
listElement.setAttribute('longitude', result.item.longitude);
listElement.setAttribute('cityId', result.item.cityId);