DEV: Fix random typos (#24756)

This commit is contained in:
Jarek Radosz
2023-12-06 22:25:26 +01:00
committed by GitHub
parent 6eb1cadb73
commit 8623631a06
6 changed files with 9 additions and 9 deletions

View File

@ -67,7 +67,7 @@
tabindex={{if button.disabled -1 0}}
{{on
"click"
(fn this.handleInlineButonAction button.action)
(fn this.handleInlineButtonAction button.action)
bubbles=false
}}
{{on "focus" (fn this.computeIsFocused true)}}

View File

@ -113,7 +113,7 @@ export default class ChatComposer extends Component {
}
@action
handleInlineButonAction(buttonAction, event) {
handleInlineButtonAction(buttonAction, event) {
event.stopPropagation();
buttonAction();

View File

@ -9,13 +9,13 @@ RSpec.describe "User card", type: :system do
before { chat_system_bootstrap }
shared_examples "not showing chat button" do
it "doesn’t show the chat buttton" do
it "doesn’t show the chat button" do
expect(page).to have_no_css(".chat-user-card-btn")
end
end
shared_examples "showing chat button" do
it "shows the chat buttton" do
it "shows the chat button" do
expect(page).to have_css(".chat-user-card-btn")
end
end