Browse Source

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

Adam Tauber 9 years ago
parent
commit
d27f7a1b07
1 changed files with 3 additions and 0 deletions
  1. 3 0
      searx/templates/oscar/base.html

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

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