Skip to content

edit-comments-faster is failing on locked issues #4031

@fregante

Description

@fregante

Visit: #4030 (as a collaborator)

Or any locked issues/PRs on repositories you control.

This is because we use the Add Reaction button as an anchor to append the button, but it doesn't exist.

Notice:

  • No "fast edit" button
  • Console error:
       Uncaught TypeError: Cannot read property 'after' of null
           at add (chrome-extension://idimlddndkhicdpjaoncjcgejgbmhogm/build/refined-github.js:3165)
           at runAdd (chrome-extension://idimlddndkhicdpjaoncjcgejgbmhogm/build/refined-github.js:17529)
           at applyChanges (chrome-extension://idimlddndkhicdpjaoncjcgejgbmhogm/build/refined-github.js:17445)
           at SelectorObserver.addRootNodes (chrome-extension://idimlddndkhicdpjaoncjcgejgbmhogm/build/refined-github.js:17965)
           at Array.processBatchQueue (chrome-extension://idimlddndkhicdpjaoncjcgejgbmhogm/build/refined-github.js:17386)
           at MutationObserver.handleMutations (chrome-extension://idimlddndkhicdpjaoncjcgejgbmhogm/build/refined-github.js:17420)
    

You should be able to see the Edit button on this comment:

Screen Shot

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions