Merge branch 'main' into lexical
* main: Don't choke when rendering commands where the card was deleted Update tests Rework system events test: add missing assertions dep: bump active_record-tenanted to fix URI support Remove hyphen from "Un-do" Prevent default when handling keyboard shortcuts dep: update AR::Tenanted to support database URIs Detect platform and label the correct hotkey shortcut Things got too tight Don't require TLS for Beamer at the moment dep: update dependencies # Conflicts: # Gemfile # Gemfile.lock # app/assets/stylesheets/comments.css
This commit is contained in:
@@ -3,6 +3,7 @@ import { Controller } from "@hotwired/stimulus"
|
||||
export default class extends Controller {
|
||||
click(event) {
|
||||
if (this.#isClickable && !this.#shouldIgnore(event)) {
|
||||
event.preventDefault()
|
||||
this.element.click()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user