CTFd: No effect on hint unlock

We are having an issue regarding hint functionality in CTFd challenges. Users cannot unlock hints even when they have achieved enough points to open them. When clicking Unlock hint -button, “ReferenceError: loadhint is not defined” appears on browser console.

Happens with freshly installed CTFd 2.2.3.

It looks like it is an issue only with dynamic flags and not the static flags.
Can you confirm this?

Thanks @jcara for reporting this and @jimender2 for doing some initial investigation! I put up https://github.com/CTFd/CTFd/pull/1224 to fix this.

Thanks for such fast responses, the issue was on dynamic flags. I can confirm that https://github.com/CTFd/CTFd/pull/1224 fixes this.