Fixed URL for closed polls in global poll_macro()
This commit is contained in:
parent
e8c6ca163c
commit
33e1680969
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ function poll_macro(param, id, mode) {
|
|||
break;
|
||||
case "link":
|
||||
html.link({
|
||||
href: poll.href(poll.closed ? "results" : "")
|
||||
href: poll.href(poll.status === Poll.CLOSED ? "result" : "")
|
||||
}, poll.question);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue