Skip to content

Commit

Permalink
fix: return window location instead of empty string when doc uri is b…
Browse files Browse the repository at this point in the history
…lank
  • Loading branch information
ajmacdonald committed Aug 26, 2019
1 parent 7306f03 commit 5c99e8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 0 additions & 19 deletions ResultListTest.html

This file was deleted.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function getDocumentURI() {

} else {
console.warn('cwrc-git-dialogs: no repo or path set!');
return '';
return window.location.href;
}
}

Expand Down

0 comments on commit 5c99e8f

Please sign in to comment.