Skip to content

Commit

Permalink
correct URL construction
Browse files Browse the repository at this point in the history
  • Loading branch information
thiloknoetzele committed Jun 9, 2020
1 parent 32e4ce2 commit b560e0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bisharing.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@
liframe.setAttribute('id', this._id + "_sharing_iframe");
liframe.setAttribute('name', "sharing_iframe");
liframe.setAttribute('style', "display:none;");
liframe.setAttribute('src', this._sharing_settings.server_urls + "/export_resources/bisharing.html?" +
"clientId=" + this._connectParams["clientId"] +
"link=" + this._connectParams["entryLink"] +
"navigate=" + this._connectParams["showNavigation"] +
liframe.setAttribute('src', this._sharing_settings.server_urls + "/export_resources/bisharing.html" +
"?clientId=" + this._connectParams["clientId"] +
"&link=" + this._connectParams["entryLink"] +
"&navigate=" + this._connectParams["showNavigation"] +
"&origin=" + encodeURIComponent(location.origin));
this._shadowRoot.appendChild(liframe);

Expand Down

0 comments on commit b560e0d

Please sign in to comment.