Fix for checkbox enabling
This commit is contained in:
parent
fa3027629e
commit
50d53cd080
1 changed files with 1 additions and 2 deletions
|
@ -265,10 +265,9 @@ for (i = 0; i < coll.length; i++) {
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
console.log(localStorage.getItem('switchExpand'));
|
|
||||||
if (localStorage.getItem('switchExpand') === true || localStorage.getItem('switchExpand') === 'true') {
|
if (localStorage.getItem('switchExpand') === true || localStorage.getItem('switchExpand') === 'true') {
|
||||||
console.log("show html excerpts");
|
|
||||||
$('.htmlExcerpt').show();
|
$('.htmlExcerpt').show();
|
||||||
|
document.getElementById("expandlCB").checked = true;
|
||||||
}
|
}
|
||||||
function switchExpand(){
|
function switchExpand(){
|
||||||
var checkBox = document.getElementById("expandlCB");
|
var checkBox = document.getElementById("expandlCB");
|
||||||
|
|
Loading…
Add table
Reference in a new issue