Commit a4b77c8e authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

small changes

parent 1331955e
......@@ -14,7 +14,7 @@ define(['jquery', 'underscore', 'commParentMenu', 'serialComm', 'text!SerialMoni
},
events: {
"click #clearMonitor": "render",
"click #clearMonitor": "_clear",
"change input:checkbox": "_clickCheckbox"
},
......@@ -95,6 +95,11 @@ define(['jquery', 'underscore', 'commParentMenu', 'serialComm', 'text!SerialMoni
if (this.model.get("autoscroll")) $output.animate({scrollTop:$output.scrollTop()+$output.innerHeight()}, "fast");
},
_clear: function(e){
e.preventDefault();
this.render();
},
_close: function(){
window.close();
},
......
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