Permalink
Browse files

Add files via upload

  • Loading branch information...
pftq committed Nov 18, 2018
1 parent 4fe0098 commit 9f7539a3b4e17227646f632493e07ed279c40a4c
Showing with 8 additions and 2 deletions.
  1. +8 −2 20180304.js
@@ -1577,12 +1577,18 @@ function getIssuedText() {
// Update the URL depending on what we put in the forms
function updateURL() {
history.pushState(null, null, "/?"+(action=="buy"? "":"action="+action+"&")+"symbol1="+symbol1+(issuer1=="" || symbol1==""? "":"."+issuer1)+($("#qty1").val()==""? "":"&qty1="+$("#qty1").val())+(action=="send"? ($("#recipient").val()==""? "":"&recipient="+$("#recipient").val())+(destTag==""? "":"&destTag="+destTag):"&symbol2="+symbol2+(issuer2=="" || symbol2==""? "":"."+issuer2)+($("#price").val()!=""? "&price="+$("#price").val():"")));
try {
history.pushState(null, null, "/?"+(action=="buy"? "":"action="+action+"&")+"symbol1="+symbol1+(issuer1=="" || symbol1==""? "":"."+issuer1)+($("#qty1").val()==""? "":"&qty1="+$("#qty1").val())+(action=="send"? ($("#recipient").val()==""? "":"&recipient="+$("#recipient").val())+(destTag==""? "":"&destTag="+destTag):"&symbol2="+symbol2+(issuer2=="" || symbol2==""? "":"."+issuer2)+($("#price").val()!=""? "&price="+$("#price").val():"")));
}
catch { }
}
// Set the URL to something specific
function setURL(url) {
history.pushState(null, null, "/"+url);
try {
history.pushState(null, null, "/"+url);
}
catch { }
}
// Refresh state variables when the action is changed

0 comments on commit 9f7539a

Please sign in to comment.