git://git.jankratochvil.net
/
MyWeb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
64eae09
)
Fixed typo affecting JS-detection on the production site.
author
short
<>
Wed, 21 Sep 2005 05:04:00 +0000
(
05:04
+0000)
committer
short
<>
Wed, 21 Sep 2005 05:04:00 +0000
(
05:04
+0000)
HaveJS.pm
patch
|
blob
|
history
diff --git
a/HaveJS.pm
b/HaveJS.pm
index
6b8230d
..
36229e0
100644
(file)
--- 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"
# 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;
print <<'HERE';
{
var searchN=window.location.search;