Sfoglia il codice sorgente

fix: remove defer attribute from Socket.IO script tag for immediate execution

Manuel 4 mesi fa
parent
commit
c490fa424e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      templates/layouts/base.html

+ 1 - 1
templates/layouts/base.html

@@ -63,7 +63,7 @@
     <!-- Footer -->
     {% include 'components/footer.html' %}
     <!-- Socket.IO -->
-    <script defer src="{{ url_for('static', filename='js/socket.io.min.js') }}"></script>
+    <script src="{{ url_for('static', filename='js/socket.io.min.js') }}"></script>
     <!-- jQuery (requerido por toastr) -->
     <script defer src="{{ url_for('static', filename='js/jquery-4.0.0.min.js') }}"></script>
     <!-- Toastr JS -->