sindresorhus/refined-github

Do you want to work on this issue?

You can request for a bounty in order to promote it!

`clean-repo-tabs`: Cannot read property 'removeAttribute' of undefined #4660

yakov116 posted onGitHub

<!-- Please also include a screenshot if the issue is visible -->

URL: https://github.com/sindresorhus/refined-github/issues/4653?notification_referrer_id=MDE4Ok5vdGlmaWNhdGlvblRocmVhZDIyNzUyNTk0Mzc6MTY4NzI3OTM%3D#issuecomment-897596871

To trigger, open any norification.

TypeError: Cannot read property 'removeAttribute' of undefined
  at onlyShowInDropdown (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:10570:12)
  at init (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:4894:76)
  at async runFeature (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:9159:11)
  at async setupPageLoad (chrome-extension://pplhppbihehddgkdedhpbfpbbbefeihl/build/refined-github.js:9177:5)

I cannot figure out why? It looks like sometimes https://github.com/sindresorhus/refined-github/blob/f56ac118ade1b34513a46fb0f6f699e53883ada1/source/features/more-dropdown-links.tsx#L29

Does not exist, but its not consistent. 🤷‍♂️


It does not exist because the next line removes it. That means that this function is being called when it shouldn't, it's likely related to deduplicate/ajax

posted by fregante over 3 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests