Skip to content

Quality: Duplicate HTML id attribute in search.html#2422

Open
tomaioo wants to merge 1 commit into
mbnuqw:v5from
tomaioo:improve/quality/duplicate-html-id-attribute-in-search-ht
Open

Quality: Duplicate HTML id attribute in search.html#2422
tomaioo wants to merge 1 commit into
mbnuqw:v5from
tomaioo:improve/quality/duplicate-html-id-attribute-in-search-ht

Conversation

@tomaioo

@tomaioo tomaioo commented Jun 20, 2026

Copy link
Copy Markdown

Summary

Quality: Duplicate HTML id attribute in search.html

Problem

Severity: High | File: src/popup.search/search.html:L38

The input element has two id attributes: id="textInput" and id="hm". HTML elements can only have one id attribute, and having duplicate ids can cause unpredictable behavior in JavaScript DOM operations and CSS selectors.

Solution

Remove the duplicate id="hm" attribute or merge them into a single id if both are needed for different purposes.

Changes

  • src/popup.search/search.html (modified)

The input element has two `id` attributes: `id="textInput"` and `id="hm"`. HTML elements can only have one id attribute, and having duplicate ids can cause unpredictable behavior in JavaScript DOM operations and CSS selectors.

Signed-off-by: tomaioo <203048277+tomaioo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant