Sfoglia il codice sorgente

[fix] do not show glyph icons if noscript is enabled - #838

Adam Tauber 8 anni fa
parent
commit
b3974fc880
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      searx/templates/oscar/base.html

+ 5
- 0
searx/templates/oscar/base.html Vedi File

@@ -98,5 +98,10 @@
98 98
     {% for script in scripts %}
99 99
         <script src="{{ url_for('static', filename=script) }}"></script>
100 100
     {% endfor %}
101
+    <noscript>
102
+      <style>
103
+        .glyphicon { display: none; }
104
+      </style>
105
+    </noscript>
101 106
 </body>
102 107
 </html>