This commit is contained in:
Ross
2021-09-09 07:43:01 +01:00
parent 6a3b0906f1
commit 160e4914ca
4 changed files with 6 additions and 7 deletions
+1
View File
@@ -708,4 +708,5 @@ input {
.sticky-alert {
position: sticky;
top: 5px;
}
+2 -3
View File
@@ -59,10 +59,9 @@ $(document).ready(function () {
$("#question-mark-list li").show();
});
$(".show-unmarked-button").click(() => {
console.log("TESTIG");
$("#question-mark-list li").each((n, el) => {
console.log(el);
if (el.dataset.markcount < 1) { $(el).hide(); }
// Can't seem to get django to output this as a int....
if (parseInt(el.dataset.markcount) < 1) { $(el).hide(); }
})
});