diff options
author | Paul Duncan <pabs@pablotron.org> | 2020-03-06 20:01:35 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2020-03-06 20:01:35 -0500 |
commit | 24f4dc38b9461f2d54a20e380e9b165c1c539fdf (patch) | |
tree | 2e571bf42cac12b830b07031c4a9dc44e9825e83 /public | |
parent | 11bcdbc1070552dfc99df332d554e99057281d1b (diff) | |
download | alonzo-mood-calculator-24f4dc38b9461f2d54a20e380e9b165c1c539fdf.tar.bz2 alonzo-mood-calculator-24f4dc38b9461f2d54a20e380e9b165c1c539fdf.zip |
fix typo
Diffstat (limited to 'public')
-rw-r--r-- | public/face.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/face.js b/public/face.js index 11cb309..cddbefa 100644 --- a/public/face.js +++ b/public/face.js @@ -6,7 +6,7 @@ jQuery(function($) { var DATA_URL = './current.json'; function to_percent(ask) { - return Math.round((r.ask - BASE_PRICE) / BASE_PRICE * 10000) / 100.0; + return Math.round((ask - BASE_PRICE) / BASE_PRICE * 10000) / 100.0; } /** @@ -195,7 +195,7 @@ jQuery(function($) { $.ajax({ method: 'GET', url: DATA_URL, - dataType: 'json' + dataType: 'json', }).fail(function(r) { alert("Couldn't fetch current data."); }).done(function(r) { |