Skip to content

(GitHub Toggle Issue Comments) "Cannot read property 'textContent' of null" in a specific PR page #56

Closed
@darkred

Description

@darkred

Using Chrome 69, TM 4.8.5850 beta, GitHub Toggle Issue Comments in 1.2.2.

The issue is that, in the specific following PR page (I couldn't find any other pages to recreate)
https://github.com/sindresorhus/refined-github/pull/1526
the script's filters are non-toggleable and disabled, and I get the following error in Chrome's Console:

Execution of script 'GitHub Toggle Issue Comments' failed! Cannot read property 'textContent' of null

referring to line 404 of the script which contains:

txt = el.textContent.trim();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions