`unread-anywhere`: Cannot set properties of null (setting 'disabled') · Issue #9567 · refined-github/refined-github · GitHub
Skip to content

unread-anywhere: Cannot set properties of null (setting 'disabled') #9567

Description

@fregante

Description

Such a noob mistake: don't access event.currentTarget asynchronously:

TypeError: Cannot set properties of null (setting 'disabled')
    at chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/features/unread-anywhere.js:66:32
    at <anonymous>
    at async HTMLButtonElement.openUnreadNotifications (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/features/unread-anywhere.js:36:2)

How to replicate the issue + URL

https://github.com/notifications

Extension version

26.5.20

Browser(s) used

chrome

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wantedsmallIssues that new contributors can pick up

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions