Skip to content

Commit

Permalink
I did one undo to much before saving it. Fixed uniqueURI again
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Aug 7, 2011
1 parent f544d5f commit 00a8c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
, host = uri.host
, port = uri.port;

if (!'document' in global) {
if ('document' in global) {
host = host || document.domain;
port = port || (protocol == 'https'
&& document.location.protocol !== 'https:' ? 443 : document.location.port);
Expand Down

0 comments on commit 00a8c52

Please sign in to comment.