From 501dfb50bec1f50f32cc7074224db31c1bca363f Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Wed, 16 Jul 2014 23:48:13 +0200 Subject: [PATCH] syntax fix --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }