Commit 40b482ce authored by Matthias Möller's avatar Matthias Möller

wichtiger Bug entfernt

parent bb01dcb2
......@@ -27,10 +27,11 @@ export default Ember.Service.extend({
myMessageHandler: function(event){
let data = event.data;
data = JSON.parse(data);
let mentalCommand = data[mentalCommand];
let mentalCommand = data["mentalCommand"];
console.log(mentalCommand, typeof(mentalCommand));
//MentalCommand is a push
if(mentalCommand === 2){
this.triggerZoom(-0.5);
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment