Skip to content

Commit

Permalink
Bug fix to getSiteUrl not handling Port numbers
Browse files Browse the repository at this point in the history
(cherry picked from commit a58a411)
  • Loading branch information
purtuga committed Sep 9, 2016
1 parent b791281 commit 86c1cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spapi/getSiteUrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ define(["jquery"], function($){
document.location.hostname +
( Number(document.location.port) !== 80 &&
Number(document.location.port) > 0 ?
document.location.port :
":" + document.location.port :
""
) +
pageAddress;
Expand Down

0 comments on commit 86c1cc0

Please sign in to comment.