X-Git-Url: https://git.jankratochvil.net/?p=MyWeb.git;a=blobdiff_plain;f=HaveJS.pm;h=36229e0a10d9c3ca0ea19a6fcbff735a5b1d259d;hp=6b8230df158a765fd620464a8e20f5a0e022ae12;hb=78715c32e9d5fabc3a853f8b210a953bb315b6ee;hpb=64eae09662a5f969e4665114fdc8c828fe7556d6 diff --git a/HaveJS.pm b/HaveJS.pm index 6b8230d..36229e0 100644 --- a/HaveJS.pm +++ b/HaveJS.pm @@ -41,8 +41,8 @@ $W->{"r"}->content_type("text/javascript"); # may not pass "have_js=1" to us anyway. (for example Google cache) print "" .'if (0'."\n" - ."\t\t".'|| window.location.hostname=="'.$W->{"W"}{"web_hostname"}.'" && window.location.port== 80'."\n" - ."\t\t".'|| window.location.hostname=="'.'localhost' .'" && window.location.port==7680)'."\n"; + ."\t\t".'|| window.location.hostname=="'.$W->{"web_hostname"}.'" && window.location.port== 80'."\n" + ."\t\t".'|| window.location.hostname=="'.'localhost' .'" && window.location.port==7680)'."\n"; print <<'HERE'; { var searchN=window.location.search;