diff options
author | 2020-01-06 19:16:16 +0700 | |
---|---|---|
committer | 2020-01-06 19:16:16 +0700 | |
commit | d98f01294ed89632ddd8bfaed153453ee68cb05b (patch) | |
tree | 52f0b4ce506b8c340c3f4c4d9b5790c6ac6325e2 /source/features/edit-comments-faster.tsx | |
parent | a76ed868a84cd0078d8423999faaba7380b0df1b (diff) | |
download | refined-github-d98f01294ed89632ddd8bfaed153453ee68cb05b.tar.gz refined-github-d98f01294ed89632ddd8bfaed153453ee68cb05b.tar.zst refined-github-d98f01294ed89632ddd8bfaed153453ee68cb05b.zip |
Fix `cloneNode` type (#2670)
Diffstat (limited to 'source/features/edit-comments-faster.tsx')
-rw-r--r-- | source/features/edit-comments-faster.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/edit-comments-faster.tsx b/source/features/edit-comments-faster.tsx index aadac096..324d8d67 100644 --- a/source/features/edit-comments-faster.tsx +++ b/source/features/edit-comments-faster.tsx @@ -8,7 +8,7 @@ function init(): void { for (const item of menuItems) { item.classList.add('rgh-edit-comment'); - const button = item.cloneNode() as HTMLButtonElement; + const button = item.cloneNode(); button.append(pencilIcon()); button.classList.replace('dropdown-item', 'timeline-comment-action'); item.closest('details')!.before(button); |