Refined-github: `clone-branch` is broken on GHE

Created on 24 Aug 2020  ·  5Comments  ·  Source: sindresorhus/refined-github

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.

bug enterprise

Most helpful comment

FYI, saw this was working today.

All 5 comments

Can you see what the selector is?

image

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

@busches is this still an issue?

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

FYI, saw this was working today.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hkdobrev picture hkdobrev  ·  3Comments

alexanderadam picture alexanderadam  ·  3Comments

Arcanemagus picture Arcanemagus  ·  3Comments

yakov116 picture yakov116  ·  3Comments

mischah picture mischah  ·  3Comments