Update "Report An Issue" link on mouseover (thanks @harding)

This commit is contained in:
Saivann 2014-05-19 18:39:18 -04:00
parent 30afc84515
commit fecdbf0e93
3 changed files with 6 additions and 6 deletions

View file

@ -361,10 +361,10 @@ 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 updateIssue(e){
//Update GitHub issue link with pre-filled with current page location
var t=getEventTarget(e);
t.href='https://github.com/bitcoin/bitcoin.org/issues/new?body='+encodeURIComponent('Location: '+window.location.href.toString()+"\n\n");
}
function makeEditable(e){