mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Fix random typos (#24756)
This commit is contained in:
@ -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)}}
|
||||
|
@ -113,7 +113,7 @@ export default class ChatComposer extends Component {
|
||||
}
|
||||
|
||||
@action
|
||||
handleInlineButonAction(buttonAction, event) {
|
||||
handleInlineButtonAction(buttonAction, event) {
|
||||
event.stopPropagation();
|
||||
|
||||
buttonAction();
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user