www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 387e9e4fc048693427b5f44628248508f8be4837
parent a9cb1e75f5f26359597d5d6f7c204b41adaa338a
Author: Simon Kornblith <simon@simonster.com>
Date:   Fri, 21 Sep 2012 16:43:47 -0700

Merge pull request #169 from aurimasv/connector-proxy

Fix typo in proxy detection.
Diffstat:
Mchrome/content/zotero/xpcom/connector/translator.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/connector/translator.js b/chrome/content/zotero/xpcom/connector/translator.js @@ -160,7 +160,7 @@ Zotero.Translators = new function() { if(m) { // First, drop the 0- if it exists (this is an III invention) var host = m[2]; - if(host.substr(0, 2) === "0-") host = substr(2); + if(host.substr(0, 2) === "0-") host = host.substr(2); var hostnames = host.split("."); for(var i=1; i<hostnames.length-2; i++) { if(TLDS[hostnames[i].toLowerCase()]) {