Skip to content

quick-label-removal: deferredContentWrapper is undefined #4934

Closed

Description

@cheap-glitch

Please ensure:

  • The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.

Include in this issue:

  • Screenshots/video/gif demonstrating the bug, if it’s visual
  • Console errors, if any

Description

Removing a label using the feature produces the following error in the console:

TypeError: deferredContentWrapper is undefined quick-label-removal.tsx:31:15

(The feature still does its job though.)

Example URL

refined-github/sandbox#3

Browser(s) used

Firefox

Activity

  1. changed the title [-]Console error in `quick-label-removal`[/-] [+]`quick-label-removal`: deferredContentWrapper is undefined[/+] on Oct 17, 2021
  2. yakov116 commented on Oct 17, 2021

    @yakov116
    Member

    I get

    refined-github.js:8589 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'closest')
        at HTMLHtmlElement.removeLabelButtonClickHandler (refined-github.js:8589)
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions