Browse Source

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

Adam Tauber 8 years ago
parent
commit
b3974fc880
1 changed files with 5 additions and 0 deletions
  1. 5 0
      searx/templates/oscar/base.html

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

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