diff --git a/index.html b/index.html index 59fad6b..dc8ab4c 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@ along with this program. If not, see . while (!(stop).test(curnode.nodeName)) { curnode = curnode.parentNode; } - if ('href' in curnode && (curnode.href.indexOf('http') || ~curnode.href.indexOf(location.host)) { + if ('href' in curnode && (curnode.href.indexOf('http') || ~curnode.href.indexOf(location.host))) { e.preventDefault(); location.href=curnode.href; }