Selaa lähdekoodia

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

Adam Tauber 9 vuotta sitten
vanhempi
commit
d27f7a1b07
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3
    0
      searx/templates/oscar/base.html

+ 3
- 0
searx/templates/oscar/base.html Näytä tiedosto

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