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 View File

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>