mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fixes #137512 by removing the href to #.
Because the handler uses MOUSE_DOWN rather than CLICK, prevent default does not have the desired effect. The navigation causes a zoom reset.
This commit is contained in:
parent
585cf37801
commit
d477eb1ee3
|
@ -55,7 +55,6 @@ export class HoverAction extends Disposable {
|
|||
|
||||
this.actionContainer = dom.append(parent, $('div.action-container'));
|
||||
this.action = dom.append(this.actionContainer, $('a.action'));
|
||||
this.action.setAttribute('href', '#');
|
||||
this.action.setAttribute('role', 'button');
|
||||
if (actionOptions.iconClass) {
|
||||
dom.append(this.action, $(`span.icon.${actionOptions.iconClass}`));
|
||||
|
|
Loading…
Reference in a new issue