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:
Akos Kitta 2019-09-18 15:37:58 +02:00
parent 5496edbb42
commit ac4e877a10

View File

@ -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();
} }
} }