[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 16/483: Don't include port in domain names
David Prévot
taffit at moszumanska.debian.org
Thu Jan 22 21:41:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.
commit a65c53f0481bd80765e5785b868f11dc22dc113e
Author: Wladimir Palant <trev at gtchat.de>
Date: Tue Jan 9 13:43:47 2007 +0000
Don't include port in domain names
--HG--
extra : convert_revision : svn%3Ad8bf93c1-8190-44a8-bb31-1ea94378a4df/trunk%40613
---
chrome/content/composer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/composer.js b/chrome/content/composer.js
index 213d996..c8f7897 100644
--- a/chrome/content/composer.js
+++ b/chrome/content/composer.js
@@ -86,7 +86,7 @@ function init() {
}
}
- var domain = wnd.location.host;
+ var domain = wnd.location.hostname;
var selectedDomain = domain.replace(/^www\./, "");
domainData = {value: domain, selected: selectedDomain};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git
More information about the Pkg-mozext-commits
mailing list