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

Enabling dark-mode shows warning and doesn't work #3128

Closed
hgluka opened this issue Aug 18, 2023 · 0 comments · Fixed by #3129
Closed

Enabling dark-mode shows warning and doesn't work #3128

hgluka opened this issue Aug 18, 2023 · 0 comments · Fixed by #3129
Assignees

Comments

@hgluka
Copy link
Contributor

hgluka commented Aug 18, 2023

Describe the bug

Enabling dark-mode shows the following warning/error:

<WARN> [18:03:03] Warning: JavaScript error: GError: Domain: "WebKitJavascriptError", Code: 699, Message: nyxt:new:1: SyntaxError: Unexpected identifier 'e'. Expected ')' to end an argument list.
<INFO> [18:03:03] Dark mode enabled.

But dark mode is not actually enabled.
The same warning is shown when running the darken bookmarklet command directly.

Precise recipe to reproduce the issue

  1. Open any webpage in Nyxt.
  2. Enable dark-mode.
  3. Read the message buffer.

or

  1. Open any webpage in Nyxt.
  2. Enable bookmarklets-mode.
  3. Execute the darken command.
  4. Read the message buffer.
@hgluka hgluka self-assigned this Aug 18, 2023
@hgluka hgluka mentioned this issue Aug 18, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants