aboutsummaryrefslogtreecommitdiff
path: root/http/public/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'http/public/scripts')
-rw-r--r--http/public/scripts/feed-condense-content.js4
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}`);