fixup 77a07b7f: don't invoke editor on clicking the name
This commit is contained in:
parent
66f176992b
commit
1c432b2868
|
@ -346,7 +346,7 @@ Object.assign(handleEvent, {
|
|||
|
||||
ENTRY_ROUTES: {
|
||||
'.checker, .enable, .disable': 'toggle',
|
||||
'.style-name': 'edit',
|
||||
'.style-name': 'name',
|
||||
'.homepage': 'external',
|
||||
'.check-update': 'check',
|
||||
'.update': 'update',
|
||||
|
@ -368,6 +368,10 @@ Object.assign(handleEvent, {
|
|||
}
|
||||
},
|
||||
|
||||
name(event) {
|
||||
if (newUI.enabled) handleEvent.edit(event);
|
||||
},
|
||||
|
||||
edit(event) {
|
||||
if (event.altKey) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user