Skip to content

Remove unused code#44637

Open
internet-account2 wants to merge 1 commit into
mdn:mainfrom
internet-account2:patch-5
Open

Remove unused code#44637
internet-account2 wants to merge 1 commit into
mdn:mainfrom
internet-account2:patch-5

Conversation

@internet-account2

Copy link
Copy Markdown
Contributor

The removed line isn't used anywhere in this code example or even anywhere in the rest of the page.

It looks like it's copied from https://mdn.github.io/dom-examples/popover-api/toggle-help-ui/ where it was used to hide the help text if no popover support is detected.

Description

Removes unused code from a code example.

Motivation

Reading a code example with irrelevant unused lines is confusing.

Additional details

Related issues and pull requests

The removed line isn't used anywhere in this code example or even anywhere in the rest of the page.

It looks like it's copied from https://mdn.github.io/dom-examples/popover-api/toggle-help-ui/ where it was used to hide the help text if no popover support is detected.
@internet-account2 internet-account2 requested a review from a team as a code owner July 3, 2026 17:33
@internet-account2 internet-account2 requested review from pepelsbey and removed request for a team July 3, 2026 17:33
@github-actions github-actions Bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants