mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
Links: Fixes issue with some links causing full page reload (#36631)
This commit is contained in:
parent
b8fbe70c14
commit
6c5d0db255
@ -24,7 +24,7 @@ export function interceptLinkClicks(e: MouseEvent) {
|
||||
// That is they where seen as being absolute from app root
|
||||
if (href[0] !== '/') {
|
||||
// if still contains protocol it's an absolute link to another domain or web application
|
||||
if (href.indexOf('://')) {
|
||||
if (href.indexOf('://') > 0) {
|
||||
window.location.href = href;
|
||||
return;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user