diff options
Diffstat (limited to 'source/features/quick-comment-hiding.tsx')
-rw-r--r-- | source/features/quick-comment-hiding.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/features/quick-comment-hiding.tsx b/source/features/quick-comment-hiding.tsx index 3f87911f..15075f2c 100644 --- a/source/features/quick-comment-hiding.tsx +++ b/source/features/quick-comment-hiding.tsx @@ -26,6 +26,7 @@ function generateSubmenu(hideButton: Element): void { const newForm = hideCommentForm.cloneNode(); const fields = [...hideCommentForm.elements].map(field => field.cloneNode()); newForm.append(<i hidden>{fields}</i>); // Add existing fields (comment ID, token) + newForm.setAttribute('novalidate', 'true'); // Ignore the form's required attributes // Imitate existing menu, reset classes newForm.className = ['dropdown-menu', 'dropdown-menu-sw', 'color-fg-default', 'show-more-popover', 'anim-scale-in'].join(' '); |