commit: d27f7a1b071b4796e4716951a8e8e62a11dc99c3
parent: bb6dae1e4223e7ae6eda5f67da9f6e11639a7691
Author: Adam Tauber <asciimoo@gmail.com>
Date: Sun, 10 Apr 2016 02:24:00 +0200
[fix] clear image link if javascript enabled - closes #535
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/searx/templates/oscar/base.html b/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>