From 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 19 Sep 2022 23:18:09 +0000 Subject: Add latest changes from gitlab-org/gitlab@15-4-stable-ee --- app/components/pajamas/button_component.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/components/pajamas/button_component.rb') diff --git a/app/components/pajamas/button_component.rb b/app/components/pajamas/button_component.rb index 4233e446d5b..b2dd798b718 100644 --- a/app/components/pajamas/button_component.rb +++ b/app/components/pajamas/button_component.rb @@ -112,7 +112,7 @@ module Pajamas def base_attributes attributes = {} - attributes['disabled'] = '' if @disabled || @loading + attributes['disabled'] = 'disabled' if @disabled || @loading attributes['aria-disabled'] = true if @disabled || @loading attributes['type'] = @type unless @href -- cgit v1.2.3