mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Dev Docs: Move Manual Sourcefile Lines To Auto Helper (thanks saivann!)
This commit is contained in:
parent
9718c474fb
commit
53d4a6eebe
6 changed files with 2 additions and 49 deletions
|
@ -447,7 +447,7 @@ for (var i = 0, n = nodes.length; i < n; i++) {
|
|||
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/bitcoin/bitcoin.org/edit/master/_includes/' + closer[0].getAttribute('data-sourcefile');
|
||||
t.href = 'https://github.com/bitcoin/bitcoin.org/edit/master/' + closer[0].getAttribute('data-sourcefile');
|
||||
}
|
||||
|
||||
function disclaimerClose(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue