diff --git a/application/controllers/Distances.php b/application/controllers/Distances.php
index af4957501..7de8d6fd4 100644
--- a/application/controllers/Distances.php
+++ b/application/controllers/Distances.php
@@ -80,7 +80,7 @@ class Distances extends CI_Controller {
// Render Page
$data['page_title'] = "Log View - " . $distance;
- $data['filter'] = __("QSOs with") . " " . $distance . " " . __("and band"). " " . $band. __("and propagation"). " " . $propagation;
+ $data['filter'] = __("QSOs with") . " " . $distance . " " . __("and band"). " " . $band. " " . __("and propagation"). " " . $propagation;
$this->load->view('awards/details', $data);
}
}
diff --git a/assets/js/sections/distances.js b/assets/js/sections/distances.js
index 12f1606df..b2af26231 100644
--- a/assets/js/sections/distances.js
+++ b/assets/js/sections/distances.js
@@ -42,7 +42,7 @@ function distPlot(form) {
backgroundColor: getBodyBackground()
},
title: {
- text: lang_statistics_distances_worked,
+ text: decodeHtml(lang_statistics_distances_worked),
style: {
color: color
}
@@ -61,7 +61,7 @@ function distPlot(form) {
},
yAxis: {
title: {
- text: lang_statistics_distances_number_of_qsos,
+ text: decodeHtml(lang_statistics_distances_number_of_qsos),
style: {
color: color
}
@@ -91,9 +91,9 @@ function distPlot(form) {
tooltip: {
formatter: function () {
if(this.point) {
- return lang_gen_hamradio_distance + ": " + options.xAxis.categories[this.point.x] +
- "
" + lang_statistics_distances_callsigns_worked + ": " + myComments[this.point.x] +
- "
" + lang_statistics_distances_number_of_qsos + ": " + series.data[this.point.x] + "";
+ return decodeHtml(lang_gen_hamradio_distance) + ": " + options.xAxis.categories[this.point.x] +
+ "
" + decodeHtml(lang_statistics_distances_callsigns_worked) + ": " + myComments[this.point.x] +
+ "
" + decodeHtml(lang_statistics_distances_number_of_qsos) + ": " + series.data[this.point.x] + "";
}
}
},