mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-30 21:30:17 -06:00
fix classic.vue
This commit is contained in:
parent
c68b17e65d
commit
9301e9ba5c
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ function top() {
|
|||
function onContextmenu(ev: MouseEvent) {
|
||||
if (isLink(ev.target)) return;
|
||||
if (['INPUT', 'TEXTAREA', 'IMG', 'VIDEO', 'CANVAS'].includes(ev.target.tagName) || ev.target.attributes['contenteditable']) return;
|
||||
if (window.getSelection().toString() !== '') return;
|
||||
if (window.getSelection()?.toString() !== '') return;
|
||||
const path = mainRouter.getCurrentPath();
|
||||
os.contextMenu([{
|
||||
type: 'label',
|
||||
|
|
Loading…
Reference in a new issue