[fix] clear image link if javascript enabled - closes #535
commitd27f7a1b071b4796e4716951a8e8e62a11dc99c3
authorAdam Tauber <asciimoo@gmail.com>
dateSun 10 Apr 2016, 02:24 (11 years ago)
parentbb6dae1
searx/templates/oscar/base.html+3
@@ -86,5 +86,8 @@
8686 {% for script in scripts %}
8787 <script src="{{ url_for('static', filename=script) }}"></script>
8888 {% endfor %}
89+ <script type="text/javascript">
90+ $(function() { $('a[data-toggle="modal"]').attr('href', '#'); });
91+ </script>
8992</body>
9093</html>