Update links to point at correct GH account / repo after rename/move

This commit is contained in:
thephez 2018-01-24 12:33:20 -05:00
parent 29c930bd33
commit 02244aa5f6
11 changed files with 32 additions and 32 deletions

View file

@ -311,7 +311,7 @@ function updateToc() {
function updateIssue(e) {
// Update GitHub issue link pre-filled with current page location.
var t = getEvent(e, 'target');
t.href = 'https://github.com/thephez/dash.org/issues/new?body=' + encodeURIComponent('Location: ' + window.location.href.toString() + "\n\n");
t.href = 'https://github.com/dash-docs/dash-docs/issues/new?body=' + encodeURIComponent('Location: ' + window.location.href.toString() + "\n\n");
}
function updateSource(e) {
@ -336,7 +336,7 @@ function updateSource(e) {
if (pageoffset < first[1]) closer = [first[0], first[1]];
if (windowy + pageoffset >= getHeight(document.body)) closer = [last[0], last[1]];
// Set updated url to source file.
t.href = 'https://github.com/thephez/dash.org/edit/master/' + closer[0].getAttribute('data-sourcefile');
t.href = 'https://github.com/dash-docs/dash-docs/edit/master/' + closer[0].getAttribute('data-sourcefile');
}
function disclaimerClose(e) {