Skip to content

Commit

Permalink
Fix typo in water temp tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
bjcfuller committed Jul 6, 2018
1 parent 61fea44 commit 3aa5798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tides.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@

output = '<div class="uri-tides-metrics">';
output += '<span class="label">WATER</span>';
output += '<div style="display: ' + display.imperial + '; font-size: ' + curve.bound + 'px" title="Switch to celcius">';
output += '<div style="display: ' + display.imperial + '; font-size: ' + curve.bound + 'px" title="Switch to celsius">';
output += parseFloat(temp[0].v).toFixed(1) + '&#176;<em>F</em>';
output += '</div><div style="display: ' + display.metric + '; font-size: ' + curve.bound + 'px" title="Switch to fahrenheit">';
output += parseFloat(Math.round((temp[0].v - 32) * 5 / 9 * 10) / 10).toFixed(1) + '&#176;<em>C</em>';
Expand Down

0 comments on commit 3aa5798

Please sign in to comment.