mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-08 11:56:36 +00:00
Open More info
in the default browser.
Instead of the Electron application. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
5496edbb42
commit
ac4e877a10
@ -11,7 +11,7 @@ export abstract class ListItemRenderer<T> {
|
|||||||
protected onClick = (event: React.SyntheticEvent<HTMLAnchorElement, Event>) => {
|
protected onClick = (event: React.SyntheticEvent<HTMLAnchorElement, Event>) => {
|
||||||
const { target } = event.nativeEvent;
|
const { target } = event.nativeEvent;
|
||||||
if (target instanceof HTMLAnchorElement) {
|
if (target instanceof HTMLAnchorElement) {
|
||||||
this.windowService.openNewWindow(target.href);
|
this.windowService.openNewWindow(target.href, { external: true });
|
||||||
event.nativeEvent.preventDefault();
|
event.nativeEvent.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user