Dev Docs: Move Manual Sourcefile Lines To Auto Helper (thanks saivann!)

This commit is contained in:
David A. Harding 2014-12-14 07:44:35 -05:00
parent 9718c474fb
commit 53d4a6eebe
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
6 changed files with 2 additions and 49 deletions

View file

@ -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) {