new thumbnail-macro made slight changes to openLink()-function necessary
This commit is contained in:
parent
b228187671
commit
7d94544e03
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Reference in a new issue