Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lib.fold crashes in the script editor #378

Open
guyguy2001 opened this issue Jun 9, 2024 · 0 comments
Open

Lib.fold crashes in the script editor #378

guyguy2001 opened this issue Jun 9, 2024 · 0 comments
Labels
pending triage type: bug Something isn't working

Comments

@guyguy2001
Copy link
Contributor

guyguy2001 commented Jun 9, 2024

Expected Behavior

Woah there are different sections build in here... cool

Lib.fold should work both in the script editor, and in boosters, like how it did in the old site.

Alternatively, it should be documented to not work, and raise an indicative error, such as "Scripts trying to fold sequences don't work anymore" (so that old etc. scripts which were based on Lib.fold would get a clear deprecation error)

Current Behavior

I get the following result in firefox:

Return : document.getElementById(...) is null
Evaluation time : 0 sec

And in chrome:

Return : Cannot read properties of null (reading 'fold')
Evaluation time : 0.001 sec

and no errors in the console

Reproduction Steps

Run https://eternagame.org/scripts/13522515

Environment

Firefox 126.0.1 (64-bit)
Chrome 125.0.6422.142 (Official Build) (64-bit) (cohort: Stable)
Windows 11 Version 23H2 (Build 22631.3672)

Other information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending triage type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant