diff --git a/frontend/src/app/components/glossary-lookup/glossary-lookup.component.html b/frontend/src/app/components/glossary-lookup/glossary-lookup.component.html index c45c2cf2..91c1bac7 100644 --- a/frontend/src/app/components/glossary-lookup/glossary-lookup.component.html +++ b/frontend/src/app/components/glossary-lookup/glossary-lookup.component.html @@ -1,5 +1,5 @@
-
+

Source: {{source}}

diff --git a/frontend/src/app/directives/external-link.directive.ts b/frontend/src/app/directives/external-link.directive.ts index 203e5e67..e6574b98 100644 --- a/frontend/src/app/directives/external-link.directive.ts +++ b/frontend/src/app/directives/external-link.directive.ts @@ -37,10 +37,9 @@ export class ExternalLinkDirective { onClick(event: MouseEvent) { event.preventDefault(); - let url: string = (event.currentTarget).getAttribute("href"); + let url: string = (event.currentTarget).getAttribute("href") || (event.target).getAttribute("href"); //check if wails exists and is defined - if(typeof wails !== "undefined" && environment.environment_desktop){ wails.CallByName("pkg.AppService.BrowserOpenURL", url) } else{