From 72b295498169529eb7caa3cb12a5f9a9a32c82a3 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Wed, 17 Aug 2011 21:40:30 +0000 Subject: [PATCH] Add the 'docs' subdomain to the regex list. --- en/layout/js/google.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/layout/js/google.js b/en/layout/js/google.js index f867456dde..3dc93f3b93 100644 --- a/en/layout/js/google.js +++ b/en/layout/js/google.js @@ -1,11 +1,11 @@ -/* $FreeBSD: www/en/layout/js/google.js,v 1.4 2011/08/17 13:21:14 gjb Exp $ */ +/* $FreeBSD: www/en/layout/js/google.js,v 1.5 2011/08/17 13:58:23 gjb Exp $ */ var h=document.location.host; /* * Check that the hosting domain is actually a FreeBSD.org domain, so * we don't accidentally obtain data from mirrors. */ -var fbsdregex=/(www|wiki)\.freebsd\.org/i; +var fbsdregex=/(docs|www|wiki)\.freebsd\.org/i; if (fbsdregex.test(h)) { var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-22767463-1']);