chore: check format when committing
This commit is contained in:
parent
569655095d
commit
6e466dc82d
3 changed files with 243 additions and 3 deletions
|
@ -25,7 +25,7 @@ function onclick(evt: MouseEvent | KeyboardEvent) {
|
|||
const path = evt.composedPath() as HTMLElement[]
|
||||
const el = path.find(el => ['A', 'BUTTON', 'IMG', 'VIDEO'].includes(el.tagName?.toUpperCase()))
|
||||
const text = window.getSelection()?.toString()
|
||||
if (!el && !text)
|
||||
if (!el && !text)
|
||||
go(evt)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue