diff options
Diffstat (limited to 'python/risk_insight/static/utils.js')
| -rw-r--r-- | python/risk_insight/static/utils.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/risk_insight/static/utils.js b/python/risk_insight/static/utils.js index 0b886e8f..a4ab6dd5 100644 --- a/python/risk_insight/static/utils.js +++ b/python/risk_insight/static/utils.js @@ -1,9 +1,9 @@ function $(s) { - return( document.getElementById(s) ) + return( document.getElementById(s) ); } function encode_dict(d){ - var r = [] + var r = []; for(var k in d){ r.push(encodeURIComponent(k) + '=' + encodeURIComponent(d[k])); } @@ -17,6 +17,6 @@ function query(url, params, callback){ if( xhr.readyState === 4){ callback(xhr.responseText); } - } + }; xhr.send(); } |
