diff options
| author | Joe Carstairs <me@joeac.net> | 2026-09-15 18:20:02 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-09-15 18:20:02 +0100 |
| commit | cbd00e8b2cdebfe8f1876f4426836a1e61545f2c (patch) | |
| tree | 7e127cc4096ccbf14dc6354fc6947e939fb2f63e /http | |
| parent | 737f7a37715be973f63caa6c964b092cf4cceed5 (diff) | |
selectors put " around attribute value
Diffstat (limited to 'http')
| -rw-r--r-- | http/public/scripts/feed-condense-content.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http/public/scripts/feed-condense-content.js b/http/public/scripts/feed-condense-content.js index 7fd01b3..014a07b 100644 --- a/http/public/scripts/feed-condense-content.js +++ b/http/public/scripts/feed-condense-content.js @@ -1,8 +1,8 @@ const expandedClass = "e-content--expanded"; export function toggleContentExpanded(id) { - const content = document.querySelector(`[data-content-id=${id}]`); - const button = document.querySelector(`[data-content-id=${id}] + button`); + const content = document.querySelector(`[data-content-id="${id}"]`); + const button = document.querySelector(`[data-content-id="${id}"] + button`); if (!content) { throw new Error(`No content found with ID: ${id}`); |
