do not probe grid:host when host is invalid
This commit is contained in:
parent
ecd49aaaf3
commit
bde492c648
1 changed files with 2 additions and 0 deletions
|
|
@ -1116,6 +1116,8 @@ self.kiri.license = exports.LICENSE;
|
||||||
|
|
||||||
if (!host && KIRI.api.ghostDetect(gridhost_probe)) return;
|
if (!host && KIRI.api.ghostDetect(gridhost_probe)) return;
|
||||||
|
|
||||||
|
if (!host) return;
|
||||||
|
|
||||||
xhtr.onreadystatechange = function() {
|
xhtr.onreadystatechange = function() {
|
||||||
if (xhtr.readyState === 4) {
|
if (xhtr.readyState === 4) {
|
||||||
if (xhtr.status >= 200 && xhtr.status < 300) {
|
if (xhtr.status >= 200 && xhtr.status < 300) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue