Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Fixing copying/share links. Fixes #62.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Jul 6, 2018
1 parent 30d9f9f commit ffd5aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/components/poll/poll.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ export class PollComponent implements OnInit {
if (!readOnly || this.poll.readOnly) {
return window.location.href;
} else {
return window.location.host + "/#/poll/" +
return window.location.origin + "/#/poll/" +
Tools.hashIdReadOnlyPrefix +
window.location.hash.split("/")[2];
}
Expand Down

0 comments on commit ffd5aeb

Please sign in to comment.