Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
Mark expand/collapse button as clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
foriequal0 committed Mar 28, 2020
1 parent e784638 commit 411d9bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content_script.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ for (const {representative, entries} of groups) {
function createGeneratedSection(hidden: boolean) {
if (hidden) {
return <div>
<p style={{textDecoration: "underline"}} onClick={(e) => toggle(e, false)}>
<a href="javascript:void(0)" style={{textDecoration: "underline"}} onClick={(e) => toggle(e, false)}>
[+] Show Generated variadic implementations
</p>
</a>
</div>;
} else {
const items: Element[] = [];
Expand All @@ -95,9 +95,9 @@ for (const {representative, entries} of groups) {
}
}
return <div>
<p style={{textDecoration: "underline"}} onClick={(e) => toggle(e, true)}>
<a href="javascript:void(0)" style={{textDecoration: "underline"}} onClick={(e) => toggle(e, true)}>
[-] Hide Generated variadic implementations
</p>
</a>
<div style={{borderStyle:"dotted"}}>
{items}
</div>
Expand Down

0 comments on commit 411d9bb

Please sign in to comment.