summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates/default.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2015-01-15 15:55:39 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2015-01-15 15:55:39 +0100
commit525833bea7ea41f4794899dc0e8f6b3d05e21a85 (patch)
tree64f2492cec894795bdfb6bb78962f6e1abb11df6 /searx/templates/oscar/result_templates/default.html
parent5bfaabeb6bb50844fd7389770eb5c8a64e63f13e (diff)
[enh] disable js-based links if no js is available
Diffstat (limited to 'searx/templates/oscar/result_templates/default.html')
-rw-r--r--searx/templates/oscar/result_templates/default.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html
index b2430ed6a..23af61f21 100644
--- a/searx/templates/oscar/result_templates/default.html
+++ b/searx/templates/oscar/result_templates/default.html
@@ -6,7 +6,7 @@
<small><a class="text-info" href="https://web.archive.org/web/{{ result.url }}">{{ icon('link') }} {{ _('cached') }}</a></small>
{% if result.embedded %}
- <small> &bull; <a class="text-info btn-collapse collapsed cursor-pointer media-loader" data-toggle="collapse" data-target="#result-media-{{ index }}" data-btn-text-collapsed="{{ _('show media') }}" data-btn-text-not-collapsed="{{ _('hide media') }}">{{ icon('music') }} {{ _('show media') }}</a></small>
+ <small> &bull; <a class="text-info btn-collapse collapsed cursor-pointer media-loader disabled_if_nojs" data-toggle="collapse" data-target="#result-media-{{ index }}" data-btn-text-collapsed="{{ _('show media') }}" data-btn-text-not-collapsed="{{ _('hide media') }}">{{ icon('music') }} {{ _('show media') }}</a></small>
{% endif %}
{% if result.embedded %}