@@ -96,6 +99,12 @@
function(s, st) { showWarning("Error clearing buffer in uC"); }
);
});
+
+ $(".fullscreen-control").addEventListener("click", function(e) {
+ e.preventDefault();
+ var fbc = this.parentNode.classList;
+ fbc[fbc.contains("full") ? "remove" : "add"].call(fbc, "full");
+ });
ajaxJson('GET', "/console/baud",
function(data) { $("#baud-sel").value = data.rate; },