瀏覽代碼

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

Adam Tauber 8 年之前
父節點
當前提交
b3974fc880
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      searx/templates/oscar/base.html

+ 5
- 0
searx/templates/oscar/base.html 查看文件

@@ -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>