summaryrefslogtreecommitdiff
path: root/js/Events/freq_div.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Events/freq_div.js')
-rw-r--r--js/Events/freq_div.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js
index 0a004b38..3aadb372 100644
--- a/js/Events/freq_div.js
+++ b/js/Events/freq_div.js
@@ -113,6 +113,8 @@ function freq_div() {
freq_div.prototype.get = function freq_div() {
}
freq_div.prototype.set = function freq_div() {
+ %ph = parseFloat((arguments[0]["%ph"]))
+ %df = parseFloat((arguments[0]["%df"]))
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o = arg1.model.rpar.objs[i-1];
if (typeof(o)=="Block"&&o.gui=="Modulo_Count") {