sindresorhus/refined-github

`clone-branch` is broken on GHE #3499

busches posted onGitHub

<!-- Thanks for reporting a bug! ā›° 1. Make sure the bug is caused by Refined GitHub. Try disabling the extension first. 2. Include a full URL where the bug appears. 3. Include a screenshot/gif Issues without a URL/screenshot will be closed -->

The selectors used do not exist on GHE 2.20. I've never had need for the functionality, so never cared, but noticed it is throwing an exception today.

āŒ Refined GitHub ā†’ clone-branch ā†’ TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
    at observeElement (refined-github.js:3399)
    at init (refined-github.js:8942)
    at runFeature (refined-github.js:2898)
    at setupPageLoad (refined-github.js:2906)
    at HTMLDocument.<anonymous> (refined-github.js:2943) 
Search issue: https://github.com/sindresorhus/refined-github/issues?q=is%3Aissue+Failed%20to%20execute%20'observe'%20on%20'MutationObserver'%3A%20parameter%201%20is%20not%20of%20type%20'Node'.

Upgrading to 2.21 is on the docket for "soon", maybe the markup will finally be updated. Otherwise opening for awareness and I'll address it when I get a chance.


Can you see what the selector is?

image

posted by yakov116 over 4 years ago

@busches please check this tomorrow when the next released is out. We changed the way it works and you should not get an error.

posted by yakov116 over 4 years ago

@busches is this still an issue?

posted by yakov116 over 4 years ago

@yakov116 probably. I will hopefully get some time to look into everything enterprise in the coming weeks.

posted by busches over 4 years ago

FYI, saw this was working today.

posted by busches over 4 years ago

Fund this Issue

$0.00
Funded

Pull requests