/***************************************************************************
- * Copyright (C) 2003-2008 Polytechnique.org *
+ * Copyright (C) 2003-2009 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
|| href.indexOf('mailto:') > -1 || href.indexOf('javascript:') > -1) {
return;
}
- if (href.indexOf(fqdn) < 0 || node.hasClass('popup')) {
+ if ((href.indexOf(fqdn) < 0 && this.className.indexOf('popup') < 0) || node.hasClass('popup')) {
node.click(function () { window.open(this.href); return false; });
}
if (href.indexOf(fqdn) > -1 && light) {
return 1;
} else if (char >= 'A' && char <= 'Z') {
return 2;
- } else if (char >= '0' && char <= '9') {
+ } else if (char >= '0' && char <= '9') {
return 3;
} else {
return 4;