BraydenMoore commited on
Commit
b3c5024
1 Parent(s): 19a4f23

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -1
templates/index.html CHANGED
@@ -183,7 +183,7 @@
183
  <script>
184
  document.addEventListener("DOMContentLoaded", function() {
185
  const feed = document.getElementById("feed");
186
- feed.src = "{{ url_for('static', filename='loading.gif') }}";
187
 
188
  const country = document.getElementById("country");
189
  country.text = "attempting to connect..."
@@ -208,6 +208,7 @@
208
  const img = new Image();
209
  img.onload = function() {
210
  feed.src = this.src;
 
211
  setTimeout(refreshImage, 1000);
212
  country.textContent = "{{ country }}"
213
  };
 
183
  <script>
184
  document.addEventListener("DOMContentLoaded", function() {
185
  const feed = document.getElementById("feed");
186
+ feed.style.opacity = "0.5"; //"{{ url_for('static', filename='loading.gif') }}";
187
 
188
  const country = document.getElementById("country");
189
  country.text = "attempting to connect..."
 
208
  const img = new Image();
209
  img.onload = function() {
210
  feed.src = this.src;
211
+ feed.style.opacity = "1";
212
  setTimeout(refreshImage, 1000);
213
  country.textContent = "{{ country }}"
214
  };