summaryrefslogtreecommitdiffstats
path: root/search/search.js
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@users.noreply.github.com>2022-07-06 04:32:16 +0000
committerjoeycastillo <joeycastillo@users.noreply.github.com>2022-07-06 04:32:16 +0000
commitd8dba8cc0f0c7807e120d7ca67d598d2413fb3e0 (patch)
tree8328c57d6cfd70839ca6682003ceaaaf0facba18 /search/search.js
parentc378a74ada806afb8004bf7a1c43ae46981a78e8 (diff)
downloadSensor-Watch-d8dba8cc0f0c7807e120d7ca67d598d2413fb3e0.tar.gz
Sensor-Watch-d8dba8cc0f0c7807e120d7ca67d598d2413fb3e0.tar.bz2
Sensor-Watch-d8dba8cc0f0c7807e120d7ca67d598d2413fb3e0.zip
deploy: 87da5f15ea314d53d97cee5f9fd13b4f83455256
Diffstat (limited to 'search/search.js')
-rw-r--r--search/search.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/search/search.js b/search/search.js
index ac8055d1..607f4e10 100644
--- a/search/search.js
+++ b/search/search.js
@@ -745,6 +745,10 @@ function createResults()
{
srLink.setAttribute('target','_parent');
}
+ else
+ {
+ srLink.setAttribute('target','_blank');
+ }
var srScope = document.createElement('span');
setClassAttr(srScope,'SRScope');
srScope.innerHTML = searchData[e][1][1][2];
@@ -767,6 +771,10 @@ function createResults()
{
srChild.setAttribute('target','_parent');
}
+ else
+ {
+ srChild.setAttribute('target','_blank');
+ }
srChild.innerHTML = searchData[e][1][c+1][2];
srChildren.appendChild(srChild);
}