Closed peterjaric closed 9 years ago
Thank you peter.
I pulled the updates in production, it still doesn't seem to be working properly.
Ah, yeah, the fix seems to have unearthed another bug:
ReferenceError: prohibit_user is not defined
In the data set it is called "prohibit_use", not "prohibit_user". Which one is right?
And also, the check should probably be changed to:
if (typeof prohibit_use !== 'undefined' && prohibit_use)
And similar for all other values.
This is solved by https://github.com/digitalfreedom/website/pull/9
'import' is a restricted JavaScript keyword and caused a syntax error.
The pull request on the data-encryptionlaws repository needs to be accepted too for this to work.