Fix help page not closing from keybind

This commit is contained in:
Ajay
2022-06-09 14:02:23 -04:00
parent 32a3cb2cfe
commit 25c04a49c1
4 changed files with 7 additions and 6 deletions

View File

@@ -1878,8 +1878,8 @@ function dontShowNoticeAgain() {
/**
* Helper method for the submission notice to clear itself when it closes
*/
function resetSponsorSubmissionNotice() {
submissionNotice?.close();
function resetSponsorSubmissionNotice(callRef = true) {
submissionNotice?.close(callRef);
submissionNotice = null;
}