diff --git a/js/directives/dgraph.js b/js/directives/dgraph.js index 69305e1..183f805 100644 --- a/js/directives/dgraph.js +++ b/js/directives/dgraph.js @@ -72,7 +72,7 @@ angular dspeed = parseFloat(val) || 0; }); - scope.$watch(attrs.useed, function(val) { + scope.$watch(attrs.uspeed, function(val) { uspeed = parseFloat(val) || 0; });