added back watering route and hopefully fixed bug with graph
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
Tracker.autorun(function() {
|
||||
var id = Session.get('controller_id');
|
||||
Session.set("orientation", new Date());
|
||||
Session.set("resize", new Date());
|
||||
if (id) {
|
||||
Meteor.subscribe("sensor_data", id);
|
||||
Meteor.subscribe("controller_state", id);
|
||||
@@ -9,6 +11,6 @@ Tracker.autorun(function() {
|
||||
Session.set("orientation", new Date());
|
||||
});
|
||||
window.addEventListener('resize', function(){
|
||||
Session.set("resized", new Date());
|
||||
Session.set("resize", new Date());
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user