Code cleanup
This commit is contained in:
parent
6b1ce051d4
commit
4981f265b8
3
view.xsl
3
view.xsl
|
@ -14,7 +14,6 @@
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$(".morelessbutton").click(function() {
|
$(".morelessbutton").click(function() {
|
||||||
var examples_div = $(this).parent().parent().find('.hideable').first();
|
var examples_div = $(this).parent().parent().find('.hideable').first();
|
||||||
console.log(examples_div.is(":visible"));
|
|
||||||
if(examples_div.is(":hidden")) {
|
if(examples_div.is(":hidden")) {
|
||||||
$(this).text(less_txt);
|
$(this).text(less_txt);
|
||||||
} else {
|
} else {
|
||||||
|
@ -79,7 +78,7 @@
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 0em;
|
margin-left: 0em;
|
||||||
color: var(--dark-gray);
|
color: var(--dark-gray);
|
||||||
margin: 0.5em 0;"
|
margin: 0.5em 0;
|
||||||
}
|
}
|
||||||
.xslt-zgled-highlight-k {
|
.xslt-zgled-highlight-k {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user