浏览代码

[fix] clear image link if javascript enabled - closes #535

Adam Tauber 9 年前
父节点
当前提交
d27f7a1b07
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      searx/templates/oscar/base.html

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

86
     {% for script in scripts %}
86
     {% for script in scripts %}
87
         <script src="{{ url_for('static', filename=script) }}"></script>
87
         <script src="{{ url_for('static', filename=script) }}"></script>
88
     {% endfor %}
88
     {% endfor %}
89
+    <script type="text/javascript">
90
+        $(function() { $('a[data-toggle="modal"]').attr('href', '#'); });
91
+    </script>
89
 </body>
92
 </body>
90
 </html>
93
 </html>