Commit fb49cd78 authored by marc duez's avatar marc duez

model.js : don't instanciate an object to access a static function

fix an error due to bad object init
parent 19471b9f
......@@ -63,8 +63,7 @@ function Model() {
this.NORM_EXPECTED = "expected"
this.NORM_EXTERNAL = "external"
this.normalization_mode = this.NORM_FALSE
this.axes = new Axis(this)
this.available_axes = this.axes.available()
this.available_axes = Axis.prototype.available()
setInterval(function(){return self.updateIcon()}, 100);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment