diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index 477e3fc0..aa1bd713 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -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(); } }) }); diff --git a/rapids/templates/rapids/mark_overview.html b/rapids/templates/rapids/mark_overview.html index 143c1398..1340307f 100644 --- a/rapids/templates/rapids/mark_overview.html +++ b/rapids/templates/rapids/mark_overview.html @@ -12,7 +12,7 @@ diff --git a/static/css/anatomy.css b/static/css/anatomy.css index a653bf86..b3b12bc5 100644 --- a/static/css/anatomy.css +++ b/static/css/anatomy.css @@ -708,4 +708,5 @@ input { .sticky-alert { position: sticky; + top: 5px; } \ No newline at end of file diff --git a/static/js/anatomy.js b/static/js/anatomy.js index 477e3fc0..aa1bd713 100644 --- a/static/js/anatomy.js +++ b/static/js/anatomy.js @@ -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(); } }) });