From f388e806241342c769436717ac4a806dd5d6c48f Mon Sep 17 00:00:00 2001 From: ha7ilm Date: Sun, 21 Dec 2014 23:38:45 +0100 Subject: [PATCH] fixed: top freq. display did not change if you changed offset_freq by clicking on a canvas instead of dragging the filter envelope --- htdocs/openwebrx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 5d3886d..3947f5d 100755 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -867,8 +867,8 @@ function canvas_mouseup(evt) if(!canvas_drag) { //ws.send("SET offset_freq="+canvas_get_freq_offset(relativeX).toString()); - //e("webrx-actual-freq").innerHTML=format_frequency("{x} MHz",canvas_get_frequency(relativeX),1e6,4); - demodulator_set_offset_frequency(0, canvas_get_freq_offset(relativeX)); + demodulator_set_offset_frequency(0, canvas_get_freq_offset(relativeX)); + e("webrx-actual-freq").innerHTML=format_frequency("{x} MHz",canvas_get_frequency(relativeX),1e6,4); } else {