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: {
|
ENTRY_ROUTES: {
|
||||||
'.checker, .enable, .disable': 'toggle',
|
'.checker, .enable, .disable': 'toggle',
|
||||||
'.style-name': 'edit',
|
'.style-name': 'name',
|
||||||
'.homepage': 'external',
|
'.homepage': 'external',
|
||||||
'.check-update': 'check',
|
'.check-update': 'check',
|
||||||
'.update': 'update',
|
'.update': 'update',
|
||||||
|
@ -368,6 +368,10 @@ Object.assign(handleEvent, {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
name(event) {
|
||||||
|
if (newUI.enabled) handleEvent.edit(event);
|
||||||
|
},
|
||||||
|
|
||||||
edit(event) {
|
edit(event) {
|
||||||
if (event.altKey) {
|
if (event.altKey) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user