www

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

commit a5dc9d9647ce6ea8b98f434bd89f3c784eda9bcc
parent f24091626d20de660344a327113a158b2cf33699
Author: Simon Kornblith <simon@simonster.com>
Date:   Fri, 18 Jan 2013 18:58:11 -0500

Fix III host code

Diffstat:
Mchrome/content/zotero/xpcom/translation/translator.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/translation/translator.js b/chrome/content/zotero/xpcom/translation/translator.js @@ -222,7 +222,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()]) {