small fix for jquery-faviconize-1.0.js to handle https properly

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5738 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
apfelmaennchen 16 years ago
parent 075b58a0a9
commit b57a1820bd

@ -27,7 +27,7 @@
$(this).each(function() {
var a = $(this);
var r = a.attr("href").match(/http:\/\/[a-z0-9.-]*(\/)?/i);
var r = a.attr("href").match(/http[s]*:\/\/[a-z0-9.-]*(\/)?/i);
var r = r[0] + ((r[1] == null) ? "/" : "");
if(r) {
if($.grep(e.exceptions, function(x) {x = (x.match(/\/$/) == null) ? x+"/" : x; return (x == r);}).length == 0) {

Loading…
Cancel
Save