Bug 14419: (QA follow-up) Restore the link styling
Test plan: Look at Show more/less links in facets, in opac and staff client --> without this patch they are pure text, no styling, no hand cursor --> with this patch it is link, but continues to work as before Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
14e6375637
commit
0ff83a8f2c
|
|
@ -53,10 +53,10 @@
|
|||
[% END %]
|
||||
[% IF facets_loo.facets.size > 5 %]
|
||||
<li class="moretoggle">
|
||||
Show more
|
||||
<a href="#"><strong>Show more</strong></a>
|
||||
</li>
|
||||
<li class="moretoggle" style="display:none">
|
||||
Show less
|
||||
<a href="#"><strong>Show less</strong></a>
|
||||
</li>
|
||||
[% END %]
|
||||
</ul></li>
|
||||
|
|
|
|||
|
|
@ -668,7 +668,8 @@
|
|||
var Sticky;
|
||||
$(document).ready(function() {
|
||||
|
||||
$(".moretoggle").click(function() {
|
||||
$(".moretoggle").click(function(e) {
|
||||
e.preventDefault();
|
||||
$(this).siblings(".collapsible-facet").toggle();
|
||||
$(this).siblings(".moretoggle").toggle();
|
||||
$(this).toggle();
|
||||
|
|
|
|||
|
|
@ -62,10 +62,10 @@
|
|||
[% END %]
|
||||
[% IF facets_loo.facets.size > 5 %]
|
||||
<li class="moretoggle">
|
||||
Show more
|
||||
<a href="#"><strong>Show more</strong></a>
|
||||
</li>
|
||||
<li class="moretoggle" style="display:none">
|
||||
Show less
|
||||
<a href="#"><strong>Show less</strong></a>
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -741,7 +741,8 @@ function highlightOn() {
|
|||
[% END %]
|
||||
$(document).ready(function(){
|
||||
|
||||
$(".moretoggle").click(function(){
|
||||
$(".moretoggle").click(function(e){
|
||||
e.preventDefault();
|
||||
$(this).siblings(".collapsible-facet").toggle();
|
||||
$(this).siblings(".moretoggle").toggle();
|
||||
$(this).toggle();
|
||||
|
|
|
|||
Loading…
Reference in New Issue