Skip to content

Commit 8794417

Browse files
committed
fix: pass argument to addHypoAssignment
addHypoAssignment takes in an argument for the current final percent of the student, but no argument was actually passed. This commit fixes that by actually passing the argument. This bug was caught by Suhas. Signed-off-by: Lucas Sta Maria <[email protected]>
1 parent b2d8f45 commit 8794417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/saspowerschoolff.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function class_page () {
111111
}
112112
document.querySelector("table.linkDescList").append(html2node(`<tr><td><strong>Final Percent: </strong></td><td>` + number.toFixed(2) + ` <div class="tooltip saspes">&#9432;<span class="tooltiptext saspes">85: A+ | 75: A <br />65: B+ | 55: B <br />45: C+ | 35: C <br/>25: D+ | 15: D</span></div></td></tr>`));
113113

114-
addHypoAssignment();
114+
addHypoAssignment(number);
115115
}
116116

117117
function login_page () {

0 commit comments

Comments
 (0)