Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean-repo-tabs: menuItem is undefined #7140

Open
cheap-glitch opened this issue Dec 5, 2023 · 1 comment
Open

clean-repo-tabs: menuItem is undefined #7140

cheap-glitch opened this issue Dec 5, 2023 · 1 comment
Labels
ajax Temporary label to collect Ajax issues bug

Comments

@cheap-glitch
Copy link
Member

cheap-glitch commented Dec 5, 2023

Description

onlyShowInDropdown@moz-extension://49f9749d-a211-4327-ae0d-6e28fb7a9a1c/assets/refined-github.js:12081:7
init@moz-extension://49f9749d-a211-4327-ae0d-6e28fb7a9a1c/assets/refined-github.js:12142:27

The feature throws an error on those lines:

const menuItem = $(`[data-menu-item$="${id}"]`)!;
menuItem.removeAttribute('data-menu-item');

How to replicate the issue + URL

  1. Open https://github.com/refined-github/sandbox/pull/12/checks
  2. Click on the "Files" tab

Extension version

23.12.1

Browser(s) used

Firefox

@fregante
Copy link
Member

fregante commented Dec 5, 2023

If it happens only after a navigation, it's probably due to:

I should really look into those AJAX issues

@fregante fregante added the ajax Temporary label to collect Ajax issues label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ajax Temporary label to collect Ajax issues bug
Development

No branches or pull requests

2 participants