diff --git a/static/noscript.ts b/static/noscript.ts
index 804666c4694..728b08478b5 100644
--- a/static/noscript.ts
+++ b/static/noscript.ts
@@ -36,16 +36,15 @@ $(document).on('ready', () => {
span.remove();
const option = container.find('input');
option.addClass('d-none');
- const button = $(`
- `
- );
+
+ const button = $('');
+ button.addClass('dropdown-item btn btn-sm btn-light');
+ button.attr('type', 'button');
+ button.attr('title', option.attr('title') ?? '');
+ button.data('bind', option.attr('name') ?? '');
+ button.attr('aria-pressed', option.attr('checked') === 'checked' ? 'true' : 'false');
button.append(span);
+
container.prepend(button);
const parent = container.parent();
parent.removeClass('noscriptdropdown');