BraydenMoore commited on
Commit
ef88e89
·
1 Parent(s): 930564b

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -2
templates/index.html CHANGED
@@ -203,7 +203,7 @@
203
 
204
  <div class="info" id="info">
205
  <h1 id="country" style="color:rgb(53, 53, 53); margin-top: 10px; font-family: 'Helvetica'; font-weight: 50; margin-bottom: 10px;"> searching...</h1>
206
- <a href="{{ ip_link }}" target="_blank"> <h3><span id="location-name" class="js-target">{{ page_title }}</span</h3></a>
207
 
208
  <div style="display: flex; margin-top: 22px; margin-bottom: 0%;">
209
  <a href="?new=true" style="margin-right: 10px; display: inline-block;">
@@ -259,7 +259,7 @@
259
  const infoText = document.getElementById("info-text");
260
  infoText.style.opacity = "0";
261
 
262
- const locationName = document.querySelector('.js-target');;
263
  locationName.textContent = "{{ page_title }}";
264
 
265
  const newUrl = "{{ url }}";
 
203
 
204
  <div class="info" id="info">
205
  <h1 id="country" style="color:rgb(53, 53, 53); margin-top: 10px; font-family: 'Helvetica'; font-weight: 50; margin-bottom: 10px;"> searching...</h1>
206
+ <a href="{{ ip_link }}" target="_blank"> <h3 style="border-bottom: 2px solid yellow;" id="location-name">{{ page_title }}</h3></a>
207
 
208
  <div style="display: flex; margin-top: 22px; margin-bottom: 0%;">
209
  <a href="?new=true" style="margin-right: 10px; display: inline-block;">
 
259
  const infoText = document.getElementById("info-text");
260
  infoText.style.opacity = "0";
261
 
262
+ const locationName = document.getElementById('location-name');
263
  locationName.textContent = "{{ page_title }}";
264
 
265
  const newUrl = "{{ url }}";