summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-04-10 02:24:00 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-04-10 02:24:00 +0200
commitd27f7a1b071b4796e4716951a8e8e62a11dc99c3 (patch)
treed022722abf6dc2d827ab1ed7a5474dd8b294d217
parentbb6dae1e4223e7ae6eda5f67da9f6e11639a7691 (diff)
downloadsearxng-d27f7a1b071b4796e4716951a8e8e62a11dc99c3.tar.gz
searxng-d27f7a1b071b4796e4716951a8e8e62a11dc99c3.zip
[fix] clear image link if javascript enabled - closes #535
-rw-r--r--searx/templates/oscar/base.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
index 4813fffc2..f63025ecc 100644
--- 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>