new thumbnail-macro made slight changes to openLink()-function necessary

This commit is contained in:
Robert Gaggl 2001-08-26 19:19:00 +00:00
parent b228187671
commit 7d94544e03

View file

@ -133,7 +133,7 @@ function openLink(param) {
// check if this is an external url // check if this is an external url
if (!url || url == "main") if (!url || url == "main")
res.write(this.href()); res.write(this.href());
else if (url.indexOf("://") > -1) else if (url.indexOf("://") > -1 || url.substring(0,10) == "javascript")
res.write(url); res.write(url);
else else
res.write(this.href(url)); res.write(this.href(url));