mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Add "Report An Issue" action in developer documentation toc
This commit is contained in:
parent
1a123bbb4a
commit
753424d2e6
6 changed files with 83 additions and 4 deletions
|
@ -361,6 +361,12 @@ addEvent(window,'load',evtimestamp);
|
|||
init();
|
||||
}
|
||||
|
||||
function issueReport(e){
|
||||
//Open an issue on GitHub pre-filled with current page location
|
||||
cancelEvent(e);
|
||||
window.location.href='https://github.com/bitcoin/bitcoin.org/issues/new?body='+encodeURIComponent('Location: '+window.location.href.toString()+"\n\n")
|
||||
}
|
||||
|
||||
function makeEditable(e){
|
||||
//An easter egg that makes the page editable when user click on the page and hold their mouse button for one second.
|
||||
//This trick allows translators and writers to preview their work.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue