diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-04-10 02:24:00 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-04-10 02:24:00 +0200 |
commit | d27f7a1b071b4796e4716951a8e8e62a11dc99c3 (patch) | |
tree | d022722abf6dc2d827ab1ed7a5474dd8b294d217 | |
parent | bb6dae1e4223e7ae6eda5f67da9f6e11639a7691 (diff) | |
download | searxng-d27f7a1b071b4796e4716951a8e8e62a11dc99c3.tar.gz searxng-d27f7a1b071b4796e4716951a8e8e62a11dc99c3.zip |
[fix] clear image link if javascript enabled - closes #535
-rw-r--r-- | searx/templates/oscar/base.html | 3 |
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> |